diff --git a/packages/react/src/components/DatePicker/DatePicker.stories.js b/packages/react/src/components/DatePicker/DatePicker.stories.js index aeffd5463a09..3616c49fbecb 100644 --- a/packages/react/src/components/DatePicker/DatePicker.stories.js +++ b/packages/react/src/components/DatePicker/DatePicker.stories.js @@ -45,37 +45,6 @@ export const Simple = () => ( ); -export const Test = () => { - const [start, setStart] = useState(); - const [end, setEnd] = useState(); - - const onPeriodChanged = (range) => { - setStart(range[0]); - setEnd(range[1]); - console.log({ range }); - }; - - return ( - - - - - ); -}; - export const SingleWithCalendar = () => ( { - return ( - - - - - - - - - - - - - - - - - - - - - - ); -}; - export const Default = () => { return ( diff --git a/packages/react/src/components/Popover/Popover.stories.js b/packages/react/src/components/Popover/Popover.stories.js index f32b32e60068..7007f18b6678 100644 --- a/packages/react/src/components/Popover/Popover.stories.js +++ b/packages/react/src/components/Popover/Popover.stories.js @@ -269,67 +269,6 @@ export const ExperimentalAutoAlign = () => { ); }; -export const Test = () => { - const [open, setOpen] = useState(); - const align = document?.dir === 'rtl' ? 'bottom-right' : 'bottom-left'; - const alignTwo = document?.dir === 'rtl' ? 'bottom-left' : 'bottom-right'; - return ( -
- - - - - - - - - - { - if (match(evt, keys.Escape)) { - setOpen(false); - } - }} - isTabTip - onRequestClose={() => setOpen(false)}> - - - - - - -
-
- Edit columns - - - -
-
-
-
- ); -}; export const TabTipExperimentalAutoAlign = () => { const [open, setOpen] = useState(true); diff --git a/packages/react/src/components/Search/Search.stories.js b/packages/react/src/components/Search/Search.stories.js index 8f8d0182f7b8..68571b73d9df 100644 --- a/packages/react/src/components/Search/Search.stories.js +++ b/packages/react/src/components/Search/Search.stories.js @@ -28,22 +28,6 @@ export default { }, }; -export const Test = () => { - const [isExpanded, setExpanded] = useState(false); - - const handleToggleExpandClick = useCallback(() => { - setExpanded(!isExpanded); - }, [isExpanded]); - - return ( - <> -
isExpanded = {isExpanded.toString()}
- - - - ); -}; - export const Default = () => (