mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
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:
committed by
GitHub
parent
4160e45398
commit
152b0d0575
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user