import buttonProps from '!!ts-docgen-loader!./props.tsx';

### Использование

Конфигурация темы на уровне проекта

```ts
// src/lib/theme.ts
import { configureRootTheme } from '@yandex-lego/components/Theme'
import { theme } from '@yandex-lego/components/Theme/presets/default'

configureRootTheme({ theme })
```

Использование с нужным набором модификаторов

```tsx
// src/App.ts
import React from 'react'
import { compose } from '@bem-react/core'
import {
  Button as ButtonDesktop,
  withSizeM,
  withViewDefault,
} from '@yandex-lego/components/Button/desktop'

const Button = compose(withSizeM, withViewDefault)(ButtonDesktop)

const App = () => (
  <Button view="default" size="m">
    Button
  </Button>
)
```

Использование с полным набором модификаторов

```tsx
// src/App.ts
import React from 'react'
import { Button } from '@yandex-lego/components/Button/desktop/bundle'

const App = () => (
  <Button view="default" size="m">
    Button
  </Button>
)
```

<br />

### API

<PropsTable props={buttonProps} />
