1.0.0 • Published 6 months ago
@casipe/react-chakra-ui-component v1.0.0
@casipe/react-ui-component
aka react-ui-component
Installation
For current/stable version:
- version 0
npm install --save-dev @casipe/react-ui-component@latest
For next version:
- version 1 or Flame UI
npm install --save-dev @casipe/react-ui-component@next
It is recommended to use @next version.
Note: For npm versions bellow 7 you need to install peer dependencies by yourself, mainly on your appllication. Normally all peerDeps will be already added in devDeps and therefore installed when working at this repository.
FYI
Props (component properties)
Almost all components exports its own properties as Typescript Enums following the current pattern is the name of the component + the name of the prop in plural and CamelCase, like bellow:
enum ComponentNamePropNames
so you would use it like this:
import { ComponentName, ComponentNamePropNames } from '@casipe/ignore'
export const Ignore: FC = () => (
<ComponentName propName={ComponentNamePropNames.xpto} />
)Note: When a component is extended some props WILL follow the pattern considering the PARENT component.
Pipeline status by branch
publish-legacy
N/A
publish
publish-next
1.0.0
6 months ago