Skip to content

Commit

Permalink
update Playground imports
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanWatanabe committed Jun 18, 2021
1 parent ab753e7 commit e96762f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 223 deletions.
4 changes: 2 additions & 2 deletions packages/react-button/src/Button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { Button, ButtonProps } from './Button';
import { Playground } from './Playground';
import { PlaygroundProps } from './Playground.types';
import { Playground } from './Playground.stories';
import { PlaygroundProps } from './Playground.types.stories';
import { buttonBaseProps } from './buttonBaseProps';

// TODO: this is here while waiting for react-icons to merge
Expand Down
4 changes: 2 additions & 2 deletions packages/react-button/src/CompoundButton.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { CompoundButton, CompoundButtonProps } from './CompoundButton';
import { Playground } from './Playground';
import { PlaygroundProps, PropDefinition } from './Playground.types';
import { Playground } from './Playground.stories';
import { PlaygroundProps, PropDefinition } from './Playground.types.stories';
import { buttonBaseProps } from './buttonBaseProps';

type ExampleProps = { iconOnly?: string };
Expand Down
4 changes: 2 additions & 2 deletions packages/react-button/src/MenuButton.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';
import { Menu, MenuItem, MenuList, MenuProps, MenuTrigger } from '@fluentui/react-menu';
import { MenuButton, MenuButtonProps } from './MenuButton';
import { Playground } from './Playground';
import { PlaygroundProps } from './Playground.types';
import { Playground } from './Playground.stories';
import { PlaygroundProps } from './Playground.types.stories';
import { buttonBaseProps } from './buttonBaseProps';

const ExampleMenu = (props: MenuButtonProps): JSX.Element => (
Expand Down
176 changes: 0 additions & 176 deletions packages/react-button/src/Playground.tsx

This file was deleted.

39 changes: 0 additions & 39 deletions packages/react-button/src/Playground.types.ts

This file was deleted.

4 changes: 2 additions & 2 deletions packages/react-button/src/ToggleButton.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';
import { useBoolean } from '@fluentui/react-utilities';
import { ToggleButton, ToggleButtonProps } from './ToggleButton';
import { Playground } from './Playground';
import { PlaygroundProps, PropDefinition } from './Playground.types';
import { Playground } from './Playground.stories';
import { PlaygroundProps, PropDefinition } from './Playground.types.stories';
import { buttonBaseProps } from './buttonBaseProps';

export const ToggleButtonPlayground = () => {
Expand Down

0 comments on commit e96762f

Please sign in to comment.