mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +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,18 @@
|
||||
*/
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Alert, Badge, Col, Label, Tabs, Tab, Well } from 'react-bootstrap';
|
||||
import { Alert, Badge, Col, Tabs, Tab, Well } from 'react-bootstrap';
|
||||
import shortid from 'shortid';
|
||||
import styled from '@superset-ui/style';
|
||||
import { t } from '@superset-ui/translation';
|
||||
import { SupersetClient } from '@superset-ui/connection';
|
||||
import getClientErrorObject from '../utils/getClientErrorObject';
|
||||
|
||||
import Button from '../components/Button';
|
||||
import Loading from '../components/Loading';
|
||||
import TableSelector from '../components/TableSelector';
|
||||
import Label from 'src/components/Label';
|
||||
import Button from 'src/components/Button';
|
||||
import Loading from 'src/components/Loading';
|
||||
import TableSelector from 'src/components/TableSelector';
|
||||
|
||||
import getClientErrorObject from '../utils/getClientErrorObject';
|
||||
import CheckboxControl from '../explore/components/controls/CheckboxControl';
|
||||
import TextControl from '../explore/components/controls/TextControl';
|
||||
import SelectControl from '../explore/components/controls/SelectControl';
|
||||
@@ -170,7 +172,7 @@ function ColumnCollectionTable({
|
||||
) : (
|
||||
v
|
||||
),
|
||||
type: d => <Label style={{ fontSize: '75%' }}>{d}</Label>,
|
||||
type: d => <Label bsStyle="s">{d}</Label>,
|
||||
is_dttm: checkboxGenerator,
|
||||
filterable: checkboxGenerator,
|
||||
groupby: checkboxGenerator,
|
||||
|
||||
Reference in New Issue
Block a user