first commit

This commit is contained in:
2021-09-07 13:49:06 +09:00
commit 10cb8fc765
27 changed files with 12975 additions and 0 deletions

30
src/appbar.stories.ts Normal file
View File

@@ -0,0 +1,30 @@
import { Story, Meta } from '@storybook/web-components';
import {LitElement, html, css,} from 'lit';
import './appbar';
export default {
title: 'Persona/AppBar',
component: 'persona-app-bar',
argTypes: {
heading: { control: 'text',
description: 'Title of the page.' },
},
} as Meta;
interface ArgTypes {
/**
* Title
*/
heading?: string;
}
const Template:Story<ArgTypes> = ({heading}) => html`
<persona-app-bar .heading=${heading}></persona-app-bar>
`;
export const Basic = Template.bind({});
Basic.args = {
heading: 'AppBar Title',
};