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

Merge branch 'master' into OZG-4528-show-firmaname

parents feece462 00bb18e7
No related branches found
No related tags found
No related merge requests found
...@@ -12,4 +12,16 @@ const meta: Meta<SaveIconComponent> = { ...@@ -12,4 +12,16 @@ const meta: Meta<SaveIconComponent> = {
export default meta; export default meta;
type Story = StoryObj<SaveIconComponent>; type Story = StoryObj<SaveIconComponent>;
export const Default: Story = {}; export const Default: Story = {
\ No newline at end of file args: { size: 'large' },
argTypes: {
size: {
control: 'select',
options: ['small', 'medium', 'large', 'extra-large', 'full'],
description: 'Size of icon. Property "full" means 100%',
table: {
defaultValue: { summary: 'medium' },
},
},
},
};
...@@ -12,4 +12,16 @@ const meta: Meta<SendIconComponent> = { ...@@ -12,4 +12,16 @@ const meta: Meta<SendIconComponent> = {
export default meta; export default meta;
type Story = StoryObj<SendIconComponent>; type Story = StoryObj<SendIconComponent>;
export const Default: Story = {}; export const Default: Story = {
\ No newline at end of file args: { size: 'large' },
argTypes: {
size: {
control: 'select',
options: ['small', 'medium', 'large', 'extra-large', 'full'],
description: 'Size of icon. Property "full" means 100%',
table: {
defaultValue: { summary: 'medium' },
},
},
},
};
import type { Meta, StoryObj } from '@storybook/angular';
import { SpinnerIconComponent } from './spinner-icon.component';
const meta: Meta<SpinnerIconComponent> = {
title: 'Icons/Spinner icon',
component: SpinnerIconComponent,
excludeStories: /.*Data$/,
tags: ['autodocs'],
};
export default meta;
type Story = StoryObj<SpinnerIconComponent>;
export const Default: Story = {
args: { size: 'large' },
argTypes: {
size: {
control: 'select',
options: ['small', 'medium', 'large', 'extra-large', 'full'],
description: 'Size of icon. Property "full" means 100%',
table: {
defaultValue: { summary: 'full' },
},
},
},
};
...@@ -12,4 +12,16 @@ const meta: Meta<StampIconComponent> = { ...@@ -12,4 +12,16 @@ const meta: Meta<StampIconComponent> = {
export default meta; export default meta;
type Story = StoryObj<StampIconComponent>; type Story = StoryObj<StampIconComponent>;
export const Default: Story = {}; export const Default: Story = {
\ No newline at end of file args: { size: 'large' },
argTypes: {
size: {
control: 'select',
options: ['small', 'medium', 'large', 'extra-large', 'full'],
description: 'Size of icon. Property "full" means 100%',
table: {
defaultValue: { summary: 'large' },
},
},
},
};
import type { Meta, StoryObj } from '@storybook/angular';
import { TestbtnComponent } from './testbtn.component';
const meta: Meta<TestbtnComponent> = {
title: 'Test button',
component: TestbtnComponent,
excludeStories: /.*Data$/,
tags: ['autodocs'],
};
export default meta;
type Story = StoryObj<TestbtnComponent>;
export const Default: Story = {
render: () => ({
template: '<ozg-testbtn><p>Hello world!</p></ozg-testbtn>'
}),
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment