add types to upgrader story
This commit is contained in:
@@ -26,7 +26,7 @@ export default {
|
||||
},
|
||||
} as Meta<UmbUpgraderView>;
|
||||
|
||||
const Template: Story = ({ fetching, upgrading, errorMessage, settings }) =>
|
||||
const Template: Story<UmbUpgraderView> = ({ fetching, upgrading, errorMessage, settings }) =>
|
||||
html`<umb-upgrader-view
|
||||
.fetching=${fetching}
|
||||
.upgrading=${upgrading}
|
||||
@@ -35,11 +35,6 @@ const Template: Story = ({ fetching, upgrading, errorMessage, settings }) =>
|
||||
|
||||
export const Overview = Template.bind({});
|
||||
|
||||
export const Fetching = Template.bind({});
|
||||
Fetching.args = {
|
||||
fetching: true,
|
||||
};
|
||||
|
||||
export const Upgrading = Template.bind({});
|
||||
Upgrading.args = {
|
||||
upgrading: true,
|
||||
|
||||
Reference in New Issue
Block a user