diff options
Diffstat (limited to 'packages/forms/src/typings')
-rw-r--r-- | packages/forms/src/typings/generic.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/forms/src/typings/generic.ts b/packages/forms/src/typings/generic.ts deleted file mode 100644 index 0fd0cdbf3..000000000 --- a/packages/forms/src/typings/generic.ts +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | import { Classes } from 'jss'; | ||
2 | |||
3 | import { Theme } from '../../../theme'; | ||
4 | |||
5 | export interface IFormField { | ||
6 | showLabel?: boolean; | ||
7 | label?: string; | ||
8 | error?: string; | ||
9 | required?: boolean; | ||
10 | noMargin?: boolean; | ||
11 | } | ||
12 | |||
13 | export interface IWithStyle { | ||
14 | classes: Classes; | ||
15 | theme: Theme; | ||
16 | } | ||
17 | |||
18 | export type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N; | ||
19 | export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; | ||