mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
Add Tooltip/TooltipTrigger/TooltipContent, data-tooltip attributes, Portal placement with border arrow, C attach helpers, docs, and tests.
10 lines
176 B
TypeScript
10 lines
176 B
TypeScript
import { Button } from "@lcui/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Button variant="outline" data-tooltip="Add to library">
|
|
Hover
|
|
</Button>
|
|
);
|
|
}
|