import type { Meta, StoryObj } from "@storybook/preact";
import { RichText } from "./RichText";

const meta: Meta<typeof RichText> = { title: "Primitives/RichText", component: RichText };
export default meta;
type Story = StoryObj<typeof RichText>;

export const Default: Story = {
  args: {
    content: `# Welcome to zuzu

This is **bold** and *italic* text with \`inline code\`.

## Features
- Lists with bullets
- [Links](https://zuzu.codes) that open in new tabs
- Smart formatting

### Code
Use \`zuzu.record()\` to define your data.`,
  },
};
