import React from 'react'; import { DatePicker, Space, Button } from '@douyinfe/semi-ui'; /** * Test with Cypress * Don't modify DOM structure */ export default function App() { const [needConfirm, setNeedConfirm] = React.useState(false); const spacing = [200, 400]; const props = { insetInput: true, defaultPickerValue: '2021-12-01', motion: false, }; const handleToggleNeedConfirm = () => { setNeedConfirm(!needConfirm); }; return (
); } App.parameters = { chromatic: { disableSnapshot: true } }; App.storyName = 'inset input e2e test';