import AssetTeaser from '../molecules/AssetTeaser'
import * as React from 'react'
import { DDO } from '@oceanprotocol/squid'
import ddo from '../../../tests/unit/__fixtures__/ddo'

export default {
  title: 'Molecules/Asset Teaser'
}

export const Default = () => (
  <AssetTeaser
    did={ddo.id}
    metadata={new DDO(ddo).findServiceByType('metadata').attributes as any}
  />
)
