optimize: rename checkbox component file (#155)
* optimize: rename checkbox component file * optimize: rename checkbox component file
This commit is contained in:
parent
6ef6dd7717
commit
a5393e52c7
@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import { connect, mapProps, mapReadPretty, useField } from '@formily/react';
|
||||
import { Checkbox as AntdCheckbox, Tag } from 'antd';
|
||||
import { CheckboxProps, CheckboxGroupProps } from 'antd/lib/checkbox';
|
||||
import uniq from 'lodash/uniq';
|
||||
import { CheckOutlined, CloseOutlined } from '@ant-design/icons';
|
||||
import { connect, mapProps, mapReadPretty, useField } from '@formily/react';
|
||||
import { isValid } from '@formily/shared';
|
||||
import { Checkbox as AntdCheckbox, Tag } from 'antd';
|
||||
import type { CheckboxGroupProps, CheckboxProps } from 'antd/lib/checkbox';
|
||||
import uniq from 'lodash/uniq';
|
||||
import React from 'react';
|
||||
|
||||
type ComposedCheckbox = React.FC<CheckboxProps> & {
|
||||
Group?: React.FC<CheckboxGroupProps>;
|
@ -1,10 +1,9 @@
|
||||
/**
|
||||
* title: 勾选
|
||||
*/
|
||||
import React from 'react';
|
||||
import { SchemaComponentProvider, SchemaComponent } from '@nocobase/client';
|
||||
import { Checkbox } from '..';
|
||||
import { FormItem } from '@formily/antd';
|
||||
import { Checkbox, SchemaComponent, SchemaComponentProvider } from '@nocobase/client';
|
||||
import React from 'react';
|
||||
|
||||
const schema = {
|
||||
type: 'object',
|
||||
|
@ -1,10 +1,9 @@
|
||||
/**
|
||||
* title: 组
|
||||
*/
|
||||
import React from 'react';
|
||||
import { SchemaComponentProvider, SchemaComponent } from '@nocobase/client';
|
||||
import { Checkbox } from '..';
|
||||
import { FormItem } from '@formily/antd';
|
||||
import { Checkbox, SchemaComponent, SchemaComponentProvider } from '@nocobase/client';
|
||||
import React from 'react';
|
||||
|
||||
const options = [
|
||||
{
|
||||
|
@ -0,0 +1 @@
|
||||
export * from './Checkbox';
|
Loading…
Reference in New Issue
Block a user