import * as React from 'react'; import Text from '../components/text/Text'; import Headline from '../components/text/Headline'; import cc from 'classnames'; type StoryVariantBorderBoxPropsType = { children: React.ReactNode; height?: string; }; export const StoryVariantBorderBox = ({ children, height = 'auto', }: StoryVariantBorderBoxPropsType) => (
parent container
{children}
); type StoryVariantPropsType = { children: React.ReactNode; height?: string; width?: string; label: string; whiteText?: boolean; dark?: boolean; }; export const StoryVariant = ({ children, height = 'auto', width = 'auto', label, whiteText, dark = false, }: StoryVariantPropsType) => (
{label} {children}
); type StoryVariantTablePropsType = { children: React.ReactNode; className?: string; alignTop?: boolean; }; export const StoryVariantTable = ({ children, className = '', alignTop, }: StoryVariantTablePropsType) => ( {children}
); export const formatTags = (values: Array): string => values.join('|');