Package Exports
- @consta/uikit/Badge
- @consta/uikit/Button
- @consta/uikit/ChoiceGroup
- @consta/uikit/IconArrowLeft
- @consta/uikit/IconArrowRight
- @consta/uikit/IconBackward
- @consta/uikit/IconCalendar
- @consta/uikit/IconClose
- @consta/uikit/IconForward
- @consta/uikit/IconWarning
- @consta/uikit/Popover
- @consta/uikit/PortalWithTheme
- @consta/uikit/Table
- @consta/uikit/Text
- @consta/uikit/TextField
- @consta/uikit/Theme
- @consta/uikit/Tooltip
- @consta/uikit/useComponentSize
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@consta/uikit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Использование
Установка пакета
yarn add @consta/uikitПрименение
Для использования компонентов на проекте следует подключить тему:
import { Theme, presetGpnDefault } from '@consta/uikit/Theme';
import { Button } from '@consta/uikit/Button';
const App = () => (
<Theme preset={presetGpnDefault}>
<Button label="Кнопка" />
</Theme>
);Документация и стенд
На стенде можно менять параметры и смотреть, как меняются компоненты. Документация — во вкладке у каждого компонента.