019c6cf90e
I also introduce Person24 as fallback avatar and grant it a new icon in Storybook as consequence. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
36 lines
962 B
TypeScript
36 lines
962 B
TypeScript
/*
|
|
* MIT License
|
|
*
|
|
* Copyright (c) 2020-present Eric Liu
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*/
|
|
|
|
/*
|
|
* SPDX-FileCopyrightText: 2020 - 2024 Eric Liu
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
import type { Meta, StoryObj } from '@storybook/svelte';
|
|
import { Person24 } from 'svelte-octicons';
|
|
|
|
const meta = {
|
|
title: 'Icons/Person24',
|
|
component: Person24,
|
|
tags: ['autodocs'],
|
|
argTypes: {
|
|
fill: {
|
|
control: 'color'
|
|
}
|
|
}
|
|
} satisfies Meta<Person24>;
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Plain: Story = {};
|