fix(explore): checkbox form control formatting (#14701)

* fix(explore): add inline option for the field that only gets used in one place

* typescriptify

* unnecessary component wrapping
This commit is contained in:
David Aaron Suddjian
2021-05-19 14:04:09 -07:00
committed by GitHub
parent 4160e45398
commit 152b0d0575
4 changed files with 94 additions and 98 deletions

View File

@@ -16,8 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import React from 'react';
import Form, { FormItemProps } from 'antd/lib/form';
import Form from 'antd/lib/form';
import { styled } from '@superset-ui/core';
const StyledItem = styled(Form.Item)`
@@ -45,6 +44,4 @@ const StyledItem = styled(Form.Item)`
`}
`;
export default function FormItem(props: FormItemProps) {
return <StyledItem {...props} />;
}
export default StyledItem;