fix(all): strong type text fields

This commit is contained in:
Manu Mtz.-Almeida
2018-07-29 14:32:28 +02:00
parent d65174bcf3
commit 1d001a3f29
6 changed files with 24 additions and 18 deletions

View File

@ -30,6 +30,7 @@ export { OverlayEventDetail, OverlayInterface } from './utils/overlays';
// Global types
export type TextFieldTypes = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url';
export type Side = 'start' | 'end';
export type PredefinedColors = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
export type Color = PredefinedColors | string;