Components
Code examples
<AttachedInputs> <Input label="Fornavn" /> <Input label="Etternavn" /> </AttachedInputs>
Guidelines
Sometimes it makes sense to combine multiple input fields into the "same" input field.
You can combine Input, SearchInput, PasswordInput, NativeSelect, and Select.
Code
<AttachedInputs />
import { AttachedInputs } from "@vygruppen/spor-react";
Combines two Input components.
Props
Name | Type | Required? | Description |
|---|---|---|---|
orientation | "horizontal" | "vertical" | The direction of the inputs to be attached. Default horizontal |