MCPcopy Create free account
hub / github.com/editablejs/editable / ButtonProps

Interface ButtonProps

apps/docs/src/components/button.tsx:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import tw from 'twin.macro'
3
4interface ButtonProps {
5 children: React.ReactNode
6 onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void
7 active: boolean
8 className?: string
9 style?: Record<string, string>
10}
11
12export function Button({ children, onClick, active, className, style }: ButtonProps) {
13 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…