"use client"; /* * Documentation: * Dropdown Menu select — https://app.subframe.com/f023064a5ca0/library?component=Dropdown+Menu+select_99951515-459b-4286-919e-a89e7549b43b * Icon Button — https://app.subframe.com/f023064a5ca0/library?component=Icon+Button_af9405b1-8c54-4e01-9786-5aad308224f6 * Sticky Note — https://app.subframe.com/f023064a5ca0/library?component=Sticky+Note_bf633727-22a3-4c3a-9db4-a53efd508fc5 */ import React from "react"; import { FeatherCopy } from "@subframe/core"; import { FeatherEdit2 } from "@subframe/core"; import { FeatherMoreVertical } from "@subframe/core"; import { FeatherTrash2 } from "@subframe/core"; import * as SubframeCore from "@subframe/core"; import * as SubframeUtils from "../../utils"; import { DropdownMenuSelect } from "../DropdownMenuSelect"; import { IconButton } from "../IconButton"; export interface StickyNoteRootProps extends Omit, "color"> { text?: React.ReactNode; color?: "yellow" | "pink" | "blue" | "green" | "purple" | "orange"; className?: string; } const StickyNoteRoot = React.forwardRef( function StickyNoteRoot( { text, color = "yellow", className, ...otherProps }: StickyNoteRootProps, ref ) { return (
} />
Kopieren
Duplizieren
Text bearbeiten
Löschen
{text ? ( {text} ) : null}
); } ); export const StickyNote = StickyNoteRoot;