import { Layout, Playground, Attributes } from 'lib/components' import { Note } from 'components' export const meta = { title: 'note', description: 'tenotext', } ## Note Display text that requires attention or provides additional information. This note details something important. `} /> This note details something important. `} /> This note details something important.
This note details something important.
This note details something important. `} /> Just a quick note! `} /> This note uses a custom label. `} /> This note details something important. `} /> This note uses a custom label.
Just a quick note!
This note details a success.
This note details a warning.
This note details an error.
This note details something important. `} /> Note.Props | Attribute | Description | Type | Accepted values | Default | ---------- | ---------- | ---- | -------------- | ------ | | **type** | note type | `NormalTypes` | `'default', 'secondary', 'success', 'warning', 'error'` | `default` | | **label** | show label or custom text | `boolean` / `string` | - | - | | **small** | small note | `boolean` | - | `false` | | **filled** | fill color | `boolean` | - | `false` | | ... | native props | `HTMLAttributes` | `'id', 'className', ...` | - | export default ({ children }) => {children}