import Button from '@pluralsight/ps-design-system-button'
import * as Icon from '@pluralsight/ps-design-system-icon'
import { Meta, Story } from '@storybook/react/types-6-0'
import React from 'react'
import Row from '../index'
export default {
title: 'Components/Row',
component: Row
} as Meta
const getImgSrc = ({ w = 680, h = 320, id = 42 } = {}) =>
`//picsum.photos/${w}/${h}?image=${id}&gravity=north`
const longStringsMetaData = [
'It is impossible to count the grand contributions of this great author',
'Levels heretofore unknown in the battle for truth and knowledge',
'A length of such amazing lengthitude so-as to blow the mind'
]
const PlayIcon: React.FC = () => (
)
export const Combo: Story = () => (
Image, Progress, Link Full Overlay, Icon, Link Title, Link Meta1, 2,
Action Bar, and More Really. Why Not Put More In? Release a New
Edition Every Year With All the Excesses of our VC Budget? Boundless
Features Will Be Yours 2000
}
fullOverlay={
}
fullOverlayVisible
image={
}
metadata1={longStringsMetaData.map((str, i) => (
{str}
))}
metadata2={['Goodness me!']}
actionBar={[
}
/>,
}
/>,
}
/>
]}
actionBarVisible
/>
)
export const Sizes: Story = () => (
{Object.values(Row.sizes).map(size => [
}
/>,
}
/>
])}
)
export const Titles: Story = () => (