diff options
Diffstat (limited to 'packages/forms/src/label')
-rw-r--r-- | packages/forms/src/label/index.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/forms/src/label/index.tsx b/packages/forms/src/label/index.tsx index ad503b785..4d86f23f7 100644 --- a/packages/forms/src/label/index.tsx +++ b/packages/forms/src/label/index.tsx | |||
@@ -1,15 +1,13 @@ | |||
1 | import classnames from 'classnames'; | 1 | import classnames from 'classnames'; |
2 | import { Classes } from 'jss'; | 2 | import { Classes } from 'jss'; |
3 | import React, { Component } from 'react'; | 3 | import { Component, LabelHTMLAttributes } from 'react'; |
4 | import injectSheet from 'react-jss'; | 4 | import injectSheet from 'react-jss'; |
5 | 5 | ||
6 | import { IFormField } from '../typings/generic'; | 6 | import { IFormField } from '../typings/generic'; |
7 | 7 | ||
8 | import styles from './styles'; | 8 | import styles from './styles'; |
9 | 9 | ||
10 | interface ILabel | 10 | interface ILabel extends IFormField, LabelHTMLAttributes<HTMLLabelElement> { |
11 | extends IFormField, | ||
12 | React.LabelHTMLAttributes<HTMLLabelElement> { | ||
13 | classes: Classes; | 11 | classes: Classes; |
14 | isRequired: boolean; | 12 | isRequired: boolean; |
15 | } | 13 | } |