import React, { PureComponent, useState } from 'react'; import { Tooltip, Button, Popover } from '@douyinfe/semi-ui'; import { PopupContent, Trigger } from './common'; const Left2Right = () => { const [pos, setPos] = useState('left'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} > pos: {pos}
); }; const Left2RightTop = () => { const [pos, setPos] = useState('left'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} >
); }; const Left2RightBottom = () => { const [pos, setPos] = useState('left'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} >
); }; const Left2LeftTop = () => { const [pos, setPos] = useState('left'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} >
); }; const Left2LeftBottom = () => { const [pos, setPos] = useState('left'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} >
); }; export { Left2Right, Left2RightTop, Left2RightBottom, Left2LeftTop, Left2LeftBottom };