Fix button tooltips
This commit is contained in:
parent
abae58489c
commit
d7d38c1ba9
8 changed files with 105 additions and 174 deletions
|
|
@ -16,11 +16,7 @@ export function GridLayoutMenu({ layout, setLayout }) {
|
|||
<Button variant="icon">
|
||||
{layout === "spotlight" ? <SpotlightIcon /> : <FreedomIcon />}
|
||||
</Button>
|
||||
{(props) => (
|
||||
<Tooltip position="bottom" {...props}>
|
||||
Layout Type
|
||||
</Tooltip>
|
||||
)}
|
||||
{() => "Layout Type"}
|
||||
</TooltipTrigger>
|
||||
{(props) => (
|
||||
<Menu {...props} label="Grid layout menu" onAction={setLayout}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue