UNPKG

@wordpress/widget-dashboard

Version:

Stateless rendering engine for widget dashboards: the WidgetDashboard compound component and its grid-settings kit.

16 lines (13 loc) • 685 B
import { Meta, Markdown } from '@storybook/addon-docs/blocks'; import WidgetChromeDoc from './widget-chrome.md?raw'; import tileAnatomy from './assets/tile-anatomy.svg'; import headerAnatomy from './assets/header-anatomy.svg'; import headerFit from './assets/header-fit.svg'; import footerAnatomy from './assets/footer-anatomy.svg'; <Meta id="widget-dashboard-widget-chrome" title="Widgets/Dashboard/Widget Chrome" /> <Markdown> { WidgetChromeDoc.replace( './assets/tile-anatomy.svg', tileAnatomy ) .replace( './assets/header-anatomy.svg', headerAnatomy ) .replace( './assets/header-fit.svg', headerFit ) .replace( './assets/footer-anatomy.svg', footerAnatomy ) } </Markdown>