UNPKG

@react-smufl/core

Version:

React component library for rendering sheet music with SMuFL-compliant music font

13 lines 519 B
import { coreStaffPath } from './StaffPath'; import { SVGGElementDefaultProps } from '../utils/types'; export type StaffMetaProps = { StaffPath: ReturnType<typeof coreStaffPath>; }; export type StaffProps = { width: number; lines?: 1 | 2 | 3 | 4 | 5 | 6 | undefined; x?: number | undefined; y?: number | undefined; } & SVGGElementDefaultProps; export declare const coreStaff: ({ StaffPath }: StaffMetaProps) => ({ children, ...props }: StaffProps) => JSX.Element; //# sourceMappingURL=Staff.d.ts.map