mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
chore: TypeScript <Label /> (#10494)
* chore: TypeScript <Label /> * rebase * chore: TypeScript <Label /> * rebase * A bunch o' test fixes. One more to go! * helper for mountying Emotional components with Enzyme * asf license * fixed last test, some linting * improve the storybook * Adressing comments Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
committed by
GitHub
parent
96b9ba3364
commit
0bad77f0fe
@@ -18,16 +18,10 @@
|
||||
*/
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {
|
||||
Row,
|
||||
Col,
|
||||
Button,
|
||||
Label,
|
||||
OverlayTrigger,
|
||||
Popover,
|
||||
} from 'react-bootstrap';
|
||||
import { Row, Col, Button, OverlayTrigger, Popover } from 'react-bootstrap';
|
||||
import { t } from '@superset-ui/translation';
|
||||
|
||||
import Label from 'src/components/Label';
|
||||
import ControlHeader from '../ControlHeader';
|
||||
import SelectControl from './SelectControl';
|
||||
import PopoverSection from '../../../components/PopoverSection';
|
||||
@@ -235,9 +229,7 @@ export default class SpatialControl extends React.Component {
|
||||
placement="right"
|
||||
overlay={this.renderPopover()}
|
||||
>
|
||||
<Label style={{ cursor: 'pointer' }}>
|
||||
{this.renderLabelContent()}
|
||||
</Label>
|
||||
<Label className="pointer">{this.renderLabelContent()}</Label>
|
||||
</OverlayTrigger>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user