mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 22:03:30 +03:00
icon prop fix
This commit is contained in:
parent
9ffe096323
commit
681d118a1f
@ -4,7 +4,7 @@
|
||||
|
||||
interface Props {
|
||||
fileName: string;
|
||||
size: number;
|
||||
size?: number;
|
||||
}
|
||||
|
||||
const { fileName, size = 16 }: Props = $props();
|
||||
|
@ -12,6 +12,7 @@ type Story = StoryObj<typeof meta>;
|
||||
export const FileIconStory: Story = {
|
||||
name: 'File Icon',
|
||||
args: {
|
||||
fileName: 'file.txt'
|
||||
fileName: 'file.txt',
|
||||
size: 16
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user