@fenderdigital/react-chrome-less
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

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.

Package Sidebar

Install

npm i @fenderdigital/react-chrome-less

Weekly Downloads

1

Version

1.3.2

License

UNLICENSED

Unpacked Size

72.2 kB

Total Files

11

Last publish

Collaborators

  • stevenhuynh
  • markv242
  • coopercodecomposer
  • sherbert
  • jcuanan
  • derduher
  • philipyun
  • theloopla
  • jemnon