mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
This reverts commit a3f3230aa9.
I accidentally merged to main so am reverting this change.
24 lines
551 B
TypeScript
24 lines
551 B
TypeScript
import { Meta, StoryObj } from "@storybook/react";
|
|
|
|
import FileUploader from "./FileUploader";
|
|
|
|
const meta: Meta<typeof FileUploader> = {
|
|
title: "Components/FileUploader",
|
|
component: FileUploader,
|
|
args: {
|
|
graphicName: "file-configuration-profile",
|
|
message: "The main message",
|
|
additionalInfo: "The additional message",
|
|
accept: ".pdf",
|
|
isLoading: false,
|
|
onFileUpload: () => {
|
|
alert("File uploaded!");
|
|
},
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
|
|
type Story = StoryObj<typeof FileUploader>;
|
|
|
|
export const Basic: Story = {};
|