mirror of
https://github.com/apache/superset.git
synced 2026-05-10 10:25:51 +00:00
* replace Well componenet with Card component * Fix lint errors * Fix lint * Addressing comments * Addressing comments * Fix lint errors * Exporting Card from index.tsx and adding storybook variants * Fix some refactoring * Fix errors * solving conflicts and lint errors * Update superset-frontend/src/common/components/Card.tsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> * Update superset-frontend/src/common/components/Card.tsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> * Update superset-frontend/src/common/components/common.stories.tsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> * Update superset-frontend/src/common/components/common.stories.tsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> * Update superset-frontend/src/common/components/common.stories.tsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> * Update superset-frontend/src/common/components/common.stories.tsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> * Update superset-frontend/src/common/components/common.stories.tsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Nikola Gigic <nik.gigic@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
*/
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Col, Well } from 'react-bootstrap';
|
||||
import { Col } from 'react-bootstrap';
|
||||
import Card from 'src/common/components/Card';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import Alert from 'src/components/Alert';
|
||||
import Badge from 'src/components/Badge';
|
||||
@@ -284,7 +285,7 @@ StackedField.propTypes = {
|
||||
};
|
||||
|
||||
function FormContainer({ children }) {
|
||||
return <Well style={{ marginTop: 20 }}>{children}</Well>;
|
||||
return <Card padded>{children}</Card>;
|
||||
}
|
||||
|
||||
FormContainer.propTypes = {
|
||||
|
||||
Reference in New Issue
Block a user