import React from 'react'; import Input, { Props as InputProps } from '@techytools/ui/components/Input'; import CanvasContainer from '@techytools/ui/.storybook/components/CanvasContainer'; import CanvasStoryPadding from '@techytools/ui/.storybook/components/CanvasStoryPadding'; import { InfoCircleOutlined, UserOutlined } from '@ant-design/icons'; import Popover from 'antd/es/popover'; import useShowStorybookCode from '@techytools/ui/hooks/useShowStorybookCode'; const InputStory = (props: InputProps) => { useShowStorybookCode(); const style = `margin: 0 0.875rem 0.875rem 0;width:90%;`; return ( <> } suffix={ Hello tooltip!}> } /> { /* console.log('pressed enter', e)*/ }} /> ); }; export default (props) => ( ); export const code = `import Input from '@techytools/ui/components/Input'; } suffix={ Hello tooltip!}> } /> { /* console.log('pressed enter', e)*/ }} />`;