Skip to content

Commit

Permalink
docs: add OrbitProvider to a Tag example
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkaaa committed Feb 14, 2025
1 parent 784994b commit 84bd837
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/src/__examples__/Tag/DEFAULT.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import React from "react";
import { Tag } from "@kiwicom/orbit-components";
import { Tag, OrbitProvider, defaultTheme } from "@kiwicom/orbit-components";

export default {
Example: () => <Tag>Bags</Tag>,
Example: () => (
<OrbitProvider theme={defaultTheme} useId={React.useId}>
<Tag>Bags</Tag>
</OrbitProvider>
),
exampleKnobs: [
{
component: "Tag",
Expand Down

0 comments on commit 84bd837

Please sign in to comment.