import React from 'react'; /* eslint-disable import/no-extraneous-dependencies */ import { storiesOf } from '@storybook/react'; import { Padded, Text } from '@buffetjs/core'; import { boolean, select } from '@storybook/addon-knobs'; import Presentation from '../ui/Presentation'; import Pre from '../ui/Pre'; const styles = { spacerCode: { display: 'block', marginBottom: 30, }, box: { backgroundColor: 'blue', display: 'inline-flex', }, }; const PaddedStory = () => (
My text
        {`
import React from 'react';
import { Padded, Text } from '@buffetjs/core';

function Example() {
  return (
    
        My text
      
  );
}
`}
      
); storiesOf('Components', module).add('Padded', () => PaddedStory());