platformList.stories.js 440 B

12345678910111213141516
  1. import React from 'react';
  2. import {withInfo} from '@storybook/addon-info';
  3. import PlatformList from 'app/components/platformList';
  4. export default {
  5. title: 'UI/Platform List',
  6. };
  7. export const _PlatformList = withInfo('Stacked list of platform and framework icons')(
  8. () => (
  9. <div style={{padding: 20, backgroundColor: '#ffffff'}}>
  10. <PlatformList platforms={['java', 'php', 'javascript', 'cocoa', 'ruby']} />
  11. </div>
  12. )
  13. );