Skip to content

Commit

Permalink
feat: converted Box stories to .tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
wp-aberg committed Jan 18, 2023
1 parent fb7d3fe commit 20a62c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/box/src/play.stories.jsx → ui/box/src/play.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import * as React from "react";
import { Story } from "@storybook/react";
import { Box as Component } from "./box";

import type { ComponentMeta, ComponentStory } from "@storybook/react";

export default {
title: "Box",
component: Component,
};
} as ComponentMeta<typeof Component>;

const Template: Story = (args) => (
const Template: ComponentStory<typeof Component> = (args) => (
<Component
as="h1"
css={{
Expand Down

0 comments on commit 20a62c4

Please sign in to comment.