react-wheel-menu
Version:
React components & hooks for building a radial wheel menu
12 lines (11 loc) • 579 B
TypeScript
import { ComponentPropsWithoutRef, ElementType } from 'react';
import { LabelJustification } from './LabelJustification';
import { LabelOffset } from './LabelOffset';
import { LabelOrientation } from './LabelOrientation';
export type LabelProps<T extends ElementType = 'span'> = ComponentPropsWithoutRef<T> & {
readonly as?: T;
readonly orient?: LabelOrientation;
readonly justify?: LabelJustification;
readonly offset?: LabelOffset;
};
export declare function Label<T extends ElementType = 'span'>(props: LabelProps<T>): import("react/jsx-runtime").JSX.Element;