Skip to main content

Interface: KeyProps

Defined in: components/Piano/key.tsx:17

Properties

__width?

optional __width: number

Defined in: components/Piano/key.tsx:36

Internal


activeBg?

optional activeBg: string

Defined in: components/Piano/key.tsx:25


activeColor?

optional activeColor: string

Defined in: components/Piano/key.tsx:26


bg?

optional bg: string

Defined in: components/Piano/key.tsx:23


children?

optional children: ReactElement<unknown, string | JSXElementConstructor<any>>

Defined in: components/Piano/key.tsx:33

<KeyLabel />


color?

optional color: string

Defined in: components/Piano/key.tsx:24


height?

optional height: number | `${number}%`

Defined in: components/Piano/key.tsx:21


noteNumber

noteNumber: number

Defined in: components/Piano/key.tsx:18


style?

optional style: CSSProperties

Defined in: components/Piano/key.tsx:28


width?

optional width: number

Defined in: components/Piano/key.tsx:20