mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-29 07:34:11 +00:00
18 lines
484 B
TypeScript
18 lines
484 B
TypeScript
import { Field, FieldDescription, FieldLabel } from "@/examples/base/ui/field"
|
|
import { Input } from "@/examples/base/ui/input"
|
|
|
|
export function InputDisabled() {
|
|
return (
|
|
<Field data-disabled>
|
|
<FieldLabel htmlFor="input-demo-disabled">Email</FieldLabel>
|
|
<Input
|
|
id="input-demo-disabled"
|
|
type="email"
|
|
placeholder="Email"
|
|
disabled
|
|
/>
|
|
<FieldDescription>This field is currently disabled.</FieldDescription>
|
|
</Field>
|
|
)
|
|
}
|