Skip to main content
Version: 1.x

Label

Label

The label component wraps modal components with text as a label and optional description.

Example

import { Label } from 'commandkit';

const label = <Label label="Name" description="Enter your name">
<ShortInput customId="name" label="Name" placeholder="John" required />
</Label>;
Signature
function Label(props: LabelProps): void

Parameters

props

parameter