import { playgroundParameters } from "@charcuterie/storybook-config/story-parameters"
import type { Meta, StoryObj } from "@storybook/react"
import { useState } from "react"
import { Button } from "../Button/Button.tsx"
import {
ContainerBoard,
StoryCell,
StoryGrid,
} from "../board.storyHelpers.tsx"
import { HtmlView } from "./HtmlView.tsx"
import {
DOCUMENT_IMAGE,
HOSTILE_HTML,
HTML_DOCUMENT,
} from "./htmlDocument.storyHelpers.ts"
const meta = {
title: "Components/Data/HtmlView",
component: HtmlView,
parameters: { layout: "padded" },
args: { label: "Saved notes", value: HTML_DOCUMENT },
} satisfies Meta