mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
23 lines
471 B
TypeScript
23 lines
471 B
TypeScript
import { Meta, StoryObj } from "@storybook/react";
|
|
|
|
import LastUpdatedText from "./LastUpdatedText";
|
|
|
|
const meta: Meta<typeof LastUpdatedText> = {
|
|
title: "Components/LastUpdatedText",
|
|
component: LastUpdatedText,
|
|
args: {
|
|
whatToRetrieve: "apples",
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
|
|
type Story = StoryObj<typeof LastUpdatedText>;
|
|
|
|
export const Basic: Story = {};
|
|
|
|
export const WithLastUpdatedAt: Story = {
|
|
args: {
|
|
lastUpdatedAt: "2021-01-01T00:00:00Z",
|
|
},
|
|
};
|