/
githubmirror
/
tldraw
Обзор
Документация
Войти
/
githubmirror
/
tldraw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/commenting/src/ui/send-button.tsx
25 строк
576 B
Mime Čuvalo
feat: commenting followups (#9782)
03 авг 2026, 18:39
Не верифицирован
03 авг 2026, 18:39
0527a7d
Код
Авторство
О чём код?
import { SendIcon } from './icons' /** @public */ export interface SendButtonProps { /** The button's accessible name (e.g. "Send"). Shown as an up-arrow icon, so this is its label. */ label: string disabled?: boolean onClick?(): void } /** The button that posts a comment — an up arrow. @public @react */ export function SendButton({ label, disabled, onClick }: SendButtonProps) { return ( <button className="tlui-cmt-send" type="button" disabled={disabled} onClick={onClick} aria-label={label} title={label} > <SendIcon /> </button> ) }