ChromeLess for Fender React UI Kit
Description
Renders a chrome-less layout with a cta, and an option to specify its theme (dark or light).
Installation and Usage
yarn install @fenderdigital/react-chrome-less --save
import ChromeLess from '@fenderdigital/react-chrome-less';
Props
-
children
- renders any child elements -
label
- a label for the cta -
onClick
- callback for cta -
theme
- dark or light color control -
url
- url for the cta
propName | propType | defaultValue | isRequired |
---|---|---|---|
children | node | null | - |
label | string | null | - |
onClick | func | () => {} | - |
theme | string | light | - |
url | string | null | - |
Development
Check the Monorepo README for development documentation.