Install the package in your project directory with:
npm install @turk.net/design-system
// or
yarn add @turk.net/design-system
import { Alert } from '@turk.net/design-system'
const SampleComponent = () => {
return (
<Alert severity="warning">
This Alert Component, The severity property changes alert color.
</Alert>
)
}
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