1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-24 15:16:21 +09:00

refactor(#10336): remove hatches

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-03-20 16:15:03 +09:00
parent 6e21147ff6
commit be7b71a2f5
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
2 changed files with 15 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function toStories(component: string): string {
properties={[
<property
key={<identifier name="layout" />}
value={<literal value={`${dir}/`.startsWith('src/pages/') || base === 'MkAnalogClock.vue' ? 'fullscreen' : 'centered'} />}
value={<literal value={`${dir}/`.startsWith('src/pages/') ? 'fullscreen' : 'centered'} />}
kind="init"
/>,
...hasMsw

View File

@ -0,0 +1,14 @@
export const Default = {
render(args, { argTypes }) {
return {
components: {
MkAnalogClock,
},
props: Object.keys(argTypes),
template: '<MkAnalogClock v-bind="$props" />',
};
},
parameters: {
layout: 'fullscreen',
},
};