Label
The Label component from Superset's UI library.
Live Example
Loading component...
Try It
Edit the code below to experiment with the component:
Live Editor
function Demo() { return ( <Label type="default" > Label text </Label> ); }
Result
Loading...
Props
| Prop | Type | Default | Description |
|---|---|---|---|
type | string | "default" | The visual style of the label. |
children | string | "Label text" | The label text content. |
monospace | boolean | false | Use monospace font. |
Import
import { Label } from '@superset/components';
Improve this page
This documentation is auto-generated from the component's Storybook story. Help improve it by editing the story file.