Skip to content

Commit

Permalink
update stories
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Jan 17, 2020
1 parent 35c8539 commit 2daa112
Show file tree
Hide file tree
Showing 40 changed files with 79 additions and 79 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './Buttons.storytab.scss';
import './Buttons.doctab.scss';

const Buttons = () => {
const { buttons } = useMightyMouse();
Expand Down
10 changes: 5 additions & 5 deletions stories/Buttons/_Buttons.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './Buttons.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './Buttons.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './Buttons.storytab.scss';
import './Buttons.doctab.scss';
const Buttons = () => {
const { buttons } = useMightyMouse();
Expand Down Expand Up @@ -57,9 +57,9 @@ const style = `.buttons {
`;

const _Buttons = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _Buttons;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './Cursor.storytab.scss';
import './Cursor.doctab.scss';
import imgCheese from './img/cheese.png';

const Cursor = () => {
Expand Down
10 changes: 5 additions & 5 deletions stories/Cursor/_Cursor.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './Cursor.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './Cursor.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './Cursor.storytab.scss';
import './Cursor.doctab.scss';
import imgCheese from './img/cheese.png';
const Cursor = () => {
Expand Down Expand Up @@ -45,9 +45,9 @@ const style = `.cursor {
`;

const _Cursor = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _Cursor;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './Default.storytab.scss';
import './Default.doctab.scss';

const Default = () => {
const {
Expand Down
10 changes: 5 additions & 5 deletions stories/Default/_Default.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './Default.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './Default.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './Default.storytab.scss';
import './Default.doctab.scss';
const Default = () => {
const {
Expand Down Expand Up @@ -51,9 +51,9 @@ const style = `.default {
`;

const _Default = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _Default;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './EyesFollow.storytab.scss';
import './EyesFollow.doctab.scss';

const EyesFollow = () => {
const {
Expand Down
10 changes: 5 additions & 5 deletions stories/EyesFollow/_EyesFollow.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './EyesFollow.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './EyesFollow.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './EyesFollow.storytab.scss';
import './EyesFollow.doctab.scss';
const EyesFollow = () => {
const {
Expand Down Expand Up @@ -75,9 +75,9 @@ const style = `.eyes-follow {
`;

const _EyesFollow = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _EyesFollow;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react';

import useMightyMouse from '../../src';
import './EyesFollowTired.storytab.scss';
import './EyesFollowTired.doctab.scss';

const EyesFollowTired = () => {
const [tiredness, setTiredness] = useState(0);
Expand Down
10 changes: 5 additions & 5 deletions stories/EyesFollowTired/_EyesFollowTired.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './EyesFollowTired.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './EyesFollowTired.doctab';

const code = `import React, { useState } from 'react';
import useMightyMouse from '../../src';
import './EyesFollowTired.storytab.scss';
import './EyesFollowTired.doctab.scss';
const EyesFollowTired = () => {
const [tiredness, setTiredness] = useState(0);
Expand Down Expand Up @@ -151,9 +151,9 @@ const style = `.eyes-follow-tired {
`;

const _EyesFollowTired = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _EyesFollowTired;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './Flashlight.storytab.scss';
import './Flashlight.doctab.scss';
import imgFlashlight from './img/flashlight.png';

const Flashlight = () => {
Expand Down
10 changes: 5 additions & 5 deletions stories/Flashlight/_Flashlight.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './Flashlight.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './Flashlight.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './Flashlight.storytab.scss';
import './Flashlight.doctab.scss';
import imgFlashlight from './img/flashlight.png';
const Flashlight = () => {
Expand Down Expand Up @@ -66,9 +66,9 @@ const style = `.flashlight {
`;

const _Flashlight = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _Flashlight;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './Keyboard.storytab.scss';
import './Keyboard.doctab.scss';

const Keyboard = () => {
const { keyboard } = useMightyMouse();
Expand Down
10 changes: 5 additions & 5 deletions stories/Keyboard/_Keyboard.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './Keyboard.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './Keyboard.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './Keyboard.storytab.scss';
import './Keyboard.doctab.scss';
const Keyboard = () => {
const { keyboard } = useMightyMouse();
Expand Down Expand Up @@ -55,9 +55,9 @@ const style = `.keyboard {
`;

const _Keyboard = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _Keyboard;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './MouseAngle.storytab.scss';
import './MouseAngle.doctab.scss';

const MouseAngle = () => {
const {
Expand Down
10 changes: 5 additions & 5 deletions stories/MouseAngle/_MouseAngle.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './MouseAngle.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './MouseAngle.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './MouseAngle.storytab.scss';
import './MouseAngle.doctab.scss';
const MouseAngle = () => {
const {
Expand Down Expand Up @@ -70,9 +70,9 @@ const style = `.mouse-angle {
`;

const _MouseAngle = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _MouseAngle;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './MouseCheese.storytab.scss';
import './MouseCheese.doctab.scss';
import imgCheese from './img/cheese.png';

const MouseCheese = () => {
Expand Down
10 changes: 5 additions & 5 deletions stories/MouseCheese/_MouseCheese.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './MouseCheese.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './MouseCheese.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './MouseCheese.storytab.scss';
import './MouseCheese.doctab.scss';
import imgCheese from './img/cheese.png';
const MouseCheese = () => {
Expand Down Expand Up @@ -301,9 +301,9 @@ const style = `.mouse-cheese {
`;

const _MouseCheese = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _MouseCheese;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './MouseHover.storytab.scss';
import './MouseHover.doctab.scss';
import imgCheese from './img/cheese.png';

const MouseHover = () => {
Expand Down
10 changes: 5 additions & 5 deletions stories/MouseHover/_MouseHover.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import StoryTabTemplate from 'story-tab-react';
import Demo from './MouseHover.storytab';
import DocTabTemplate from 'react-doc-tab-template';
import Demo from './MouseHover.doctab';

const code = `import React from 'react';
import useMightyMouse from '../../src';
import './MouseHover.storytab.scss';
import './MouseHover.doctab.scss';
import imgCheese from './img/cheese.png';
const MouseHover = () => {
Expand Down Expand Up @@ -58,9 +58,9 @@ const style = `.mouse-hover {
`;

const _MouseHover = () => (
<StoryTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<DocTabTemplate code={code} style={style} codeExt="tsx" styleExt="scss">
<Demo />
</StoryTabTemplate>
</DocTabTemplate>
);

export default _MouseHover;
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import useMightyMouse from '../../src';
import './Positions.storytab.scss';
import './Positions.doctab.scss';

const Positions = () => {
const {
Expand Down
Loading

0 comments on commit 2daa112

Please sign in to comment.