Skip to content

Commit

Permalink
docs: add intro pages
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jan 13, 2024
1 parent f8cc6fa commit d841999
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/SelectIntro.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Meta } from "@storybook/blocks";

<Meta title="Select/Introduction" />

<style>{`ol {
list-style: num;
}`}</style>

## How to use

1. Browse the blocks and pick the one (or more) by clicking "+ ADD" button at the bottom toolbar. It will copy the command line to your clipboard.
2. Paste the command line to your terminal at the root dir of you project and run it.
3. You will see the block(s) you picked in `src/mui-treasury` folder.
4. Import the block(s) to a page. It's that simple!
14 changes: 14 additions & 0 deletions docs/TextFieldIntro.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Meta } from "@storybook/blocks";

<Meta title="TextField/Introduction" />

<style>{`ol {
list-style: num;
}`}</style>

## How to use

1. Browse the blocks and pick the one (or more) by clicking "+ ADD" button at the bottom toolbar. It will copy the command line to your clipboard.
2. Paste the command line to your terminal at the root dir of you project and run it.
3. You will see the block(s) you picked in `src/mui-treasury` folder.
4. Import the block(s) to a page. It's that simple!

0 comments on commit d841999

Please sign in to comment.