diff options
Diffstat (limited to 'packages/forms/src/typings')
-rw-r--r-- | packages/forms/src/typings/generic.ts | 11 | ||||
-rw-r--r-- | packages/forms/src/typings/react-html-attributes.d.ts | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/forms/src/typings/generic.ts b/packages/forms/src/typings/generic.ts new file mode 100644 index 000000000..e1e497050 --- /dev/null +++ b/packages/forms/src/typings/generic.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | import { Classes } from 'jss'; | ||
2 | |||
3 | export interface IFormField { | ||
4 | title?: string; | ||
5 | showLabel?: boolean; | ||
6 | isError?: boolean; | ||
7 | } | ||
8 | |||
9 | export interface IWithStyle { | ||
10 | classes: Classes; | ||
11 | } | ||
diff --git a/packages/forms/src/typings/react-html-attributes.d.ts b/packages/forms/src/typings/react-html-attributes.d.ts new file mode 100644 index 000000000..6f8f20fe4 --- /dev/null +++ b/packages/forms/src/typings/react-html-attributes.d.ts | |||
@@ -0,0 +1 @@ | |||
declare module 'react-html-attributes'; | |||