--- order: 3 title: zh-CN: 全局化配置 en-US: ConfigProvider --- ## zh-CN 自定义全局组件的 Empty 样式。 ## en-US Use ConfigProvider set global Empty style. ```jsx import { ConfigProvider, Switch, Divider, TreeSelect, Select, Cascader, Transfer, Table, List, } from 'antd'; import { SmileOutlined } from '@ant-design/icons'; const customizeRenderEmpty = () => (

Data Not Found

); const style = { width: 200 }; export default () => { const [customize, setCustomize] = React.useState(false); return (
{ setCustomize(value); }} />

Select