@turk.net/design-system
v0.9.11
Published
## Installation
Downloads
766
Keywords
Readme
TurkNet Design System
Installation
Install the package in your project directory with:
npm install @turk.net/design-system
// or
yarn add @turk.net/design-system
Usage
import { Alert } from '@turk.net/design-system'
const SampleComponent = () => {
return (
<Alert severity="warning">
This Alert Component, The severity property changes alert color.
</Alert>
)
}
Development
🚅 Quick start
Install the dependencies.
Navigate into your new site’s directory and install the necessary dependencies.
# Navigate to the directory cd design-system/ # Install the dependencies yarn
Open the source code and start editing!
yarn start
Build storybook
yarn build
Build library
yarn build-library
Learning Storybook
- Read our introductory tutorial over at Storybook tutorials.
- Learn how to transform your component libraries into design systems in our Design Systems for Developers tutorial.
- See our official documentation at Storybook.