import Label from '@precursor/label';Example
import Label from '@precursor/label';
export default function Example() {
return (
<>
<Label htmlFor="project-name">Project name</Label>
<input id="project-name" />
</>
);
}
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
childrenRequired | ReactNode | — | — |
htmlFor | string | — | — |
className | string | — | — |