Form stack
The Form stack component is used to apply consistent vertical spacing between elements in forms.
import { ... } from '@ag.ds-next/react/form-stack';
Usage
Form stack components can be imported via the form-stack
entrypoint in the @ag.ds-next/react
package.
For example:
import { ... } from '@ag.ds-next/react/form-stack';
Props
Prop | Type | Description |
---|---|---|
children | ReactNode |
Source
You can view the full source code for this package on Github.