Skip to content
Snippets Groups Projects
Commit ad8344e7 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5832 Add isLoading button story

parent d0fe4cbb
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,6 @@ export const Default: Story = { ...@@ -36,7 +36,6 @@ export const Default: Story = {
export const WithIcon: Story = { export const WithIcon: Story = {
args: { args: {
text: 'I have an icon', text: 'I have an icon',
isLoading: false,
variant: 'outline', variant: 'outline',
}, },
render: (args) => ({ render: (args) => ({
...@@ -46,3 +45,10 @@ export const WithIcon: Story = { ...@@ -46,3 +45,10 @@ export const WithIcon: Story = {
</ods-button>`, </ods-button>`,
}), }),
}; };
export const IsLoading: Story = {
args: {
text: 'Loading...',
isLoading: true,
},
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment