@owlui/lib
v0.0.46
Published
The purpose of this package is to provide a convenient method of importing the entirety of Owl UI.
Downloads
10
Keywords
Readme
Components
The purpose of this package is to provide a convenient method of importing the entirety of Owl UI.
Usage
Once this package is installed it can be used directly or on a individual component basis.
Installation:
npm i @owlui/lib
yarn add @owlui/lib
Examples
Importing All Components
import * as owlui from '@owlui/lib';
const DefaultBtn = owlui.button.Default;
export const Element = props => {
const { children } = props;
return <DefaultBtn>{children}</DefaultBtn>;
};
export default {
Element,
};
Importing Single Component
import { Default as DefaultBtn } from '@owlui/button';
export const Element = props => {
const { children } = props;
return <DefaultBtn>{children}</DefaultBtn>;
};
export default {
Element,
};
Customization
Details on how to customize the styling of components can be found here.