21a7fc1b54
I also extracted the Icons we use into a story and looked into how I could potentially allow for changing the locale. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
18 lines
361 B
TypeScript
18 lines
361 B
TypeScript
import type { Meta, StoryObj } from '@storybook/svelte';
|
|
import Repo24 from 'svelte-octicons/lib/Repo24.svelte';
|
|
|
|
const meta = {
|
|
title: 'Icons/Repo24',
|
|
component: Repo24,
|
|
tags: ['autodocs'],
|
|
argTypes: {
|
|
fill: {
|
|
control: 'color'
|
|
}
|
|
}
|
|
} satisfies Meta<Repo24>;
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Plain: Story = {};
|