diff options
Diffstat (limited to 'packages/aml-backoffice-ui/src/handlers/InputInteger.stories.tsx')
-rw-r--r-- | packages/aml-backoffice-ui/src/handlers/InputInteger.stories.tsx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/packages/aml-backoffice-ui/src/handlers/InputInteger.stories.tsx b/packages/aml-backoffice-ui/src/handlers/InputInteger.stories.tsx index a08513075..344865817 100644 --- a/packages/aml-backoffice-ui/src/handlers/InputInteger.stories.tsx +++ b/packages/aml-backoffice-ui/src/handlers/InputInteger.stories.tsx @@ -30,27 +30,23 @@ export default { title: "Input Integer", }; -export namespace Simplest { - export interface Form { - comment: string; - } -} type TargetObject = { - comment: string; + age: number; } const initial: TargetObject = { - comment: "some initial comment" + age: 5, } const form: FlexibleForm<TargetObject> = { design: [{ title: "this is a simple form" as TranslatedString, fields: [{ - type: "text", + type: "integer", props: { label: "label of the field" as TranslatedString, - name: "comment", + name: "age", + tooltip: "just numbers" as TranslatedString, }, }] }] |