fix: timer component, fixes #10849, closes #11002 (#11004)

This commit is contained in:
Jesse Yang
2020-09-23 10:53:24 -07:00
committed by GitHub
parent af1e8e8839
commit 7549dad12d
8 changed files with 99 additions and 77 deletions

View File

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import React from 'react';
import React, { CSSProperties } from 'react';
import { Label as BootstrapLabel } from 'react-bootstrap';
import { styled } from '@superset-ui/core';
import cx from 'classnames';
@@ -31,7 +31,7 @@ export interface LabelProps {
placement?: string;
onClick?: OnClickHandler;
bsStyle?: string;
style?: BootstrapLabel.LabelProps['style'];
style?: CSSProperties;
children?: React.ReactNode;
}