import React, { PureComponent, useState } from 'react'; import { Tooltip, Button, Popover } from '@douyinfe/semi-ui'; import { PopupContent, Trigger } from './common'; const Bottom2Top = () => { const [pos, setPos] = useState('top'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} > pos: {pos}
); }; const Bottom2TopLeft = () => { const [pos, setPos] = useState('top'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} >
); }; const Bottom2TopRight = () => { const [pos, setPos] = useState('top'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} >
); }; const Bottom2BottomLeft = () => { const [pos, setPos] = useState('top'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} >
); }; const Bottom2BottomRight = () => { const [pos, setPos] = useState('top'); return (
} arrowPointAtCenter={false} visible trigger='custom' position={pos} key={pos} >
); }; export { Bottom2Top, Bottom2TopLeft, Bottom2TopRight, Bottom2BottomLeft, Bottom2BottomRight };