import popupProps 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 })
```

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

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

// Композиция из различных модификаторов
const Popup = compose(withViewDefault)(PopupDesktop)

const App = () => (
  <Popup visible position={{ top: 10, left: 10 }} view="default">
    Popup
  </Popup>
)
```

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

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

const App = () => (
  <Popup visible position={{ top: 10, left: 10 }} view="default">
    Popup
  </Popup>
)
```

### Props

<PropsTable props={popupProps} />
