@activecollab/components
Version:
ActiveCollab Components
17 lines • 1.05 kB
TypeScript
import React, { ReactElement } from "react";
export declare const SAMPLE_NOTE = "Kickoff open questions before we lock the columns:\n\n\u2022 Who owns the migration off react-dnd, and does it block the canvas work or run in parallel?\n\u2022 Confirm the outline-placeholder choreography reads the same in a scrolled column.\n\u2022 Do we ship the note type in v1, or defer inline editing?";
export interface NoteCardProps {
title?: string;
body?: string;
/**
* The project the note belongs to, above the title — the same line, in the
* same treatment, that a TaskCard uses. Off by default: only a surface that
* mixes projects needs it.
*/
showProjectName?: boolean;
projectName?: string;
}
export declare const NoteCard: ({ title, body, showProjectName, projectName, }: NoteCardProps) => ReactElement;
export declare const NotePlaceholder: (props: React.ButtonHTMLAttributes<HTMLButtonElement>) => ReactElement;
export declare const NoteSkeleton: () => ReactElement;
//# sourceMappingURL=NoteCard.d.ts.map