Skip to content

Import

import { Form } from '@dnb/eufemia/extensions/forms'
render(<Form.ButtonRow />)

Description

Form.ButtonRow is a wrapper for horizontally separated buttons. Use it when you place two or more buttons together; a single button can be rendered directly without a ButtonRow.

import { Form } from '@dnb/eufemia/extensions/forms'
render(
<Form.Handler onSubmit={submitHandler}>
...
<Form.ButtonRow>
<Form.SubmitButton />
<Button variant="secondary">Other button</Button>
</Form.ButtonRow>
</Form.Handler>
)