import ConfigProvider from '..'; import React from 'react'; import ReactDOM from 'react-dom'; import { Button, Dialog, Menu, Table } from '../..'; const config = { Menu: { isSelectIconRight: true, }, Table: { hasBorder: false, }, Dialog: { footerActions: [ 'cancel', 'ok' ], }, }; const dataSource = () => { const result = []; for (let i = 0; i < 4; i++) { result.push({ title: { name: `Quotation for 1PCS Nano ${3 + i}.0 controller compatible`, }, id: 100306660940 + i, time: 2000 + i, }); } return result; }; class App extends React.Component { state = { visible: false, }; onOpen = () => { this.setState({ visible: true, }); }; onClose = reason => { console.log(reason); this.setState({ visible: false, }); }; render() { return (
{/* @ts-ignore */}
Start your business here by searching a popular product

Option 1 Disabled option 2 Sub option 1 Sub option 2 Option 3
); } } ReactDOM.render(, document.getElementById('config-provider-demo-7'));