import React , { FunctionComponent } from "react" ; import clsx from "clsx" ; import { NoteType } from "../../domain/note" ; import "./style.css" ; interface KeyProps { type : NoteType ; label : string ; disabled ? : boolean ; } export const Key = ( props ) => { const { type , label , ... rest } = props ; return ( < button className = { clsx ( `key key--${ type } `)} type="button" {...rest}>
      {label}
    </button>);
};
