diff --git a/packages/react/components/Form.tsx b/packages/react/components/Form.tsx new file mode 100644 index 0000000..e69de29 diff --git a/packages/react/src/docs/components/Tooltip.mdx b/packages/react/src/docs/components/Tooltip.mdx index 0efa0b1..0b01cac 100644 --- a/packages/react/src/docs/components/Tooltip.mdx +++ b/packages/react/src/docs/components/Tooltip.mdx @@ -133,3 +133,54 @@ import { Tooltip, TooltipContent } from "@components/Tooltip"; + +### No Delay + + + + Preview + Code + + + + + + + + + + + +### Early Delay + + + + Preview + Code + + + + + + + + + + + +### Late Delay + + + + Preview + Code + + + + + + + + + + diff --git a/packages/react/src/docs/components/TooltipBlocks/Examples/EarlyDelay.tsx b/packages/react/src/docs/components/TooltipBlocks/Examples/EarlyDelay.tsx new file mode 100644 index 0000000..07b0e5e --- /dev/null +++ b/packages/react/src/docs/components/TooltipBlocks/Examples/EarlyDelay.tsx @@ -0,0 +1,13 @@ +import { Button } from "@components/Button"; +import { Tooltip, TooltipContent } from "@components/Tooltip"; + +export function EarlyDelay() { + return ( + + +

Tooltip!

+
+ +
+ ); +} diff --git a/packages/react/src/docs/components/TooltipBlocks/Examples/LateDelay.tsx b/packages/react/src/docs/components/TooltipBlocks/Examples/LateDelay.tsx new file mode 100644 index 0000000..180237d --- /dev/null +++ b/packages/react/src/docs/components/TooltipBlocks/Examples/LateDelay.tsx @@ -0,0 +1,13 @@ +import { Button } from "@components/Button"; +import { Tooltip, TooltipContent } from "@components/Tooltip"; + +export function LateDelay() { + return ( + + +

Tooltip!

+
+ +
+ ); +} diff --git a/packages/react/src/docs/components/TooltipBlocks/Examples/NoDelay.tsx b/packages/react/src/docs/components/TooltipBlocks/Examples/NoDelay.tsx new file mode 100644 index 0000000..9295399 --- /dev/null +++ b/packages/react/src/docs/components/TooltipBlocks/Examples/NoDelay.tsx @@ -0,0 +1,13 @@ +import { Button } from "@components/Button"; +import { Tooltip, TooltipContent } from "@components/Tooltip"; + +export function NoDelay() { + return ( + + +

Tooltip!

+
+ +
+ ); +} diff --git a/packages/react/src/docs/components/TooltipBlocks/Examples/index.ts b/packages/react/src/docs/components/TooltipBlocks/Examples/index.ts index a6d7dd0..1f08d68 100644 --- a/packages/react/src/docs/components/TooltipBlocks/Examples/index.ts +++ b/packages/react/src/docs/components/TooltipBlocks/Examples/index.ts @@ -2,6 +2,8 @@ import { Bottom } from "./Bottom"; import { Left } from "./Left"; import { Right } from "./Right"; import { Top } from "./Top"; +import { NoDelay } from "./NoDelay"; +import { EarlyDelay } from "./EarlyDelay"; +import { LateDelay } from "./LateDelay"; -export default { Bottom, Left, Right, Top }; - +export default { Bottom, Left, Right, Top, NoDelay, EarlyDelay, LateDelay };