@kalads/spec
v0.2.0
Published
The shared component API (prop types, variants, defaults) of the KalaDS web, React and React Native libraries.
Maintainers
Readme
@kalads/spec
The shared component API of the KalaDS libraries: prop types, variants and defaults, generated from the
web components. @kalads/react-components and @kalads/react-native-components build their props on
it, so the three libraries stay the same.
You don't usually install it yourself: the component libraries depend on it. Its types are useful when you wrap a component and want the same prop values:
import type { ButtonVariant } from '@kalads/spec';Documentation
KalaDS is a design system with one set of tokens and component libraries for multiple platforms. Read the documentation at kalads.netlify.app, and see the KalaDS repository for all packages.
License
MIT
