@fenderdigital/react-chrome-less
v1.3.2
Published
Fender React UI Kit ChromeLess Component
Downloads
3
Readme
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 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.