@artibox/components
v1.2.0
Published
<h1 align="center">@artibox/components</h1>
Downloads
25
Readme
Installation
npm install @artibox/components --save
or
$ yarn add @artibox/components
Introduction
This package is an UI library for artibox
just like material-ui, antd, ...etc.
Also includes locale
and theme
for artibox.
API
Components
import { Icon, Tooltip } from '@artibox/components';
or;
import Icon from '@artibox/components/Icon';
import Tooltip from '@artibox/components/Tooltip';
Currently we just implement:
Theme
The value of theme context is just theme name since we use css variables to apply theme.
- ThemeContext - Provide resolved props and theme.
- ThemeProvider
- addThemeNamePrefix
- resolveThemeObjectToCSSProperties
Locale
Provide the locale object from @artibox/locale.