test: Tests, dedicated directory and Storybook for the Badge component (#13513)

* Move to dir and add storybook

* Add tests

* Remove no-restricted-imports
This commit is contained in:
Geido
2021-03-10 22:29:59 +02:00
committed by GitHub
parent b9884fb55b
commit d1f6245bcd
8 changed files with 226 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ import PropTypes from 'prop-types';
import { Col, Well } from 'react-bootstrap';
import { Radio } from 'src/common/components/Radio';
import Alert from 'src/components/Alert';
import Badge from 'src/common/components/Badge';
import Badge from 'src/components/Badge';
import shortid from 'shortid';
import { styled, SupersetClient, t, supersetTheme } from '@superset-ui/core';
import Button from 'src/components/Button';