9df83ab313
refs. https://github.com/TryGhost/Product/issues/4134 At this moment the new design system doesn't contain components that could be used for creating new pages and views in future apps in the Admin. This PR adds components to the Design System that are common to many areas in Admin, such as a dynamic table, a view container and some example page layouts.
19 lines
447 B
TypeScript
19 lines
447 B
TypeScript
import type {Meta, StoryObj} from '@storybook/react';
|
|
|
|
import BoilerPlate from './Boilerplate';
|
|
|
|
const meta = {
|
|
title: 'Meta / Boilerplate',
|
|
component: BoilerPlate,
|
|
tags: ['autodocs']
|
|
} satisfies Meta<typeof BoilerPlate>;
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof BoilerPlate>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
children: 'This is a boilerplate component. Use as a basis to create new components.'
|
|
}
|
|
};
|