import * as React from "react"; import { useStyletron } from "baseui"; import { Button } from "baseui/button"; import { StatefulPopover, PLACEMENT, TRIGGER_TYPE } from "baseui/popover"; import { ParagraphSmall } from "baseui/typography"; export default function Example() { const [css, theme] = useStyletron(); return (
{Object.values(PLACEMENT).map((key, index) => (
{`PLACEMENT.${PLACEMENT[key]}`} } accessibilityType={"tooltip"} >
))}
); }