Documentation
    Preparing search index...

    Type Alias UsePiano<T>

    Properties exposed by the usePiano hook.

    type UsePiano<T extends HTMLElement> = {
        ref: RefObject<T | null>;
    }

    Type Parameters

    Index
    ref: RefObject<T | null>

    Reference to the HTMLElement where the piano will be rendered.