Skip to content

Commit cb96457

Browse files
Merge pull request #54 from linked-planet/feature/guided-tour-component
Feature/guided tour component
2 parents 1fde581 + 94f1b8a commit cb96457

File tree

5 files changed

+534
-2005
lines changed

5 files changed

+534
-2005
lines changed

library/src/components/form/DynamicForm.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface DynamicFormProps<T extends FieldValues>
4141
) => React.JSX.Element
4242
onSubmit: (obj: T) => void
4343
readonly?: boolean
44-
vertical?: boolean
44+
horizontal?: boolean
4545
hideReset?: boolean
4646
hideSave?: boolean
4747
}
@@ -51,7 +51,7 @@ export function DynamicForm<T extends FieldValues>({
5151
children,
5252
onSubmit,
5353
readonly,
54-
vertical,
54+
horizontal,
5555
className,
5656
hideSave,
5757
hideReset,
@@ -77,7 +77,7 @@ export function DynamicForm<T extends FieldValues>({
7777
<form
7878
{...props}
7979
className={twMerge(
80-
`flex ${vertical ? "flex-row" : "flex-col"} gap-4`,
80+
`flex ${horizontal ? "flex-row" : "flex-col"} gap-4`,
8181
className,
8282
)}
8383
onSubmit={handleSubmit(onSubmit)}

0 commit comments

Comments
 (0)