@fower/atomic-props
Installation
- npm
- yarn
- pnpm
npm install @fower/atomic-props
yarn add @fower/atomic-props
pnpm add @fower/atomic-props
Usage
When you customize an atomic props using addAtom
or composeAtom
,
you should extend AtomicProps types to get editor IntelliSense:
declare module '@fower/atomic-props' {
export interface AtomicProps {
textBody?: boolean
brandLight?: boolean
brandLighter?: boolean
brandLightest?: boolean
brandPrimary?: boolean
brandDark?: boolean
brandDarker?: boolean
brandDarkest?: boolean
bgBrandPrimary?: boolean
borderBrandPrimary?: boolean
formInput?: boolean
}
}