UNPKG

discord-card-react

Version:
17 lines (16 loc) 779 B
/** * Renders a Discord note section with a title, note content, and input field for adding notes. * * @param {string} title - The title of the note section * @param {string} note - The current note content * @param {string} placeholder - The placeholder text for the input field * @param {function} handleInput - The function to handle input changes * @return {JSX.Element} A section component with a title, note input field, and note content */ declare const NoteSection: ({ title, note, placeholder, handleInput, }: { title?: string | undefined; note?: string | undefined; placeholder?: string | undefined; handleInput: (event: React.ChangeEvent<HTMLTextAreaElement>) => void; }) => import("react/jsx-runtime").JSX.Element; export default NoteSection;