1.3.2 • Published 6 years ago
@fenderdigital/react-chrome-less v1.3.2
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 --saveimport ChromeLess from '@fenderdigital/react-chrome-less';Props
children- renders any child elementslabel- a label for the ctaonClick- callback for ctatheme- dark or light color controlurl- 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.