import { Meta } from "@storybook/react";
import * as React from "react";
import { LinkIcon } from "@navikt/aksel-icons";
import { CopyToClipboard } from "../index";
export default {
title: "ds-react-internal/CopyToClipboard",
component: CopyToClipboard,
argTypes: {
text: {
control: {
type: "text",
},
},
popoverPlacement: {
control: {
type: "text",
},
},
iconPosition: {
control: {
type: "radio",
options: ["right", "left"],
},
},
size: {
control: {
type: "radio",
options: ["medium", "small"],
},
},
},
} as Meta;
export const Default = {
render: (props) => {
return (