diff --git a/packages/react/src/components/Skeleton/next/Skeleton.stories.js b/packages/react/src/components/Skeleton/next/Skeleton.stories.js deleted file mode 100644 index fedceb323bf4..000000000000 --- a/packages/react/src/components/Skeleton/next/Skeleton.stories.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * Copyright IBM Corp. 2016, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -import React from 'react'; -import SkeletonText from '../../SkeletonText'; -import SkeletonPlaceholder from '../../SkeletonPlaceholder'; -import { withKnobs, select, boolean, number } from '@storybook/addon-knobs'; - -const classNames = { - 'my--skeleton__placeholder--small': 'my--skeleton__placeholder--small', - 'my--skeleton__placeholder--medium': 'my--skeleton__placeholder--medium', - 'my--skeleton__placeholder--large': 'my--skeleton__placeholder--large', -}; - -const placeholderProps = () => ({ - className: select('Classes with different sizes', classNames), -}); - -const widths = { - '100%': '100%', - '250px': '250px', -}; - -const textProps = () => ({ - heading: boolean('Skeleton text at a larger size (heading)'), - paragraph: boolean('Use multiple lines of text (paragraph)'), - lineCount: number('The number of lines in a paragraph (lineCount)', 3), - width: select( - 'Width (in px or %) of single line of text or max-width of paragraph lines (width)', - widths, - '100%' - ), -}); - -export default { - title: 'Components/Skeleton', - component: SkeletonText, - decorators: [withKnobs], - subcomponents: { - SkeletonPlaceholder, - }, -}; - -export const _SkeletonPlaceholder = () => { - return ( -
-