diff options
Diffstat (limited to 'types/react-material-color-picker/index.d.ts')
-rw-r--r-- | types/react-material-color-picker/index.d.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/types/react-material-color-picker/index.d.ts b/types/react-material-color-picker/index.d.ts new file mode 100644 index 0000000..361579b --- /dev/null +++ b/types/react-material-color-picker/index.d.ts @@ -0,0 +1,14 @@ +declare module 'react-material-color-picker' { + class MaterialColorPicker { + constructor(props: { + initColor: string, + style: {[name: string]: string | number}, + submitLabel: string, + resetLabel: string, + onSelect: (event: { target: value }) => void, + onSubmit: () => void, + onReset: () => void + }); + } + export = LRUCache; +} |