FormStatus
Loading example…
Submit-level confirmation. role="status", a polite live region that does not interrupt.
Import
Section titled “Import”import { FormStatus } from "@jcsoftdev/ui/forms";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/forms/form.
export const Default: Story = { render: () => <Demo /> };Source of the Storybook story.
| Prop | Type | Default | Description |
|---|---|---|---|
message * |
ReactNode |
Message text; null, undefined and an empty string render nothing. |
* marks a required prop.
It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/forms/form/form.tsx