import { html , TemplateResult } from '@spectrum-web-components/base' ; import '../sp-asset.js' ; import { portrait } from '../../card/stories/images' ; export default { title : 'Asset' , component : 'sp-asset' , } ; export const Default = ( ) : TemplateResult => { return html `
        <sp-asset style="height: 128px">
            <img src=${ portrait } alt="Demo Graphic" />
        </sp-asset>
    ` ; } ; export const File = ( ) : TemplateResult => { return html `
        <sp-asset variant="file"></sp-asset>
    ` ; } ; export const Folder = ( ) : TemplateResult => { return html `
        <sp-asset variant="folder"></sp-asset>
    ` ; } ;