UNPKG

react-wheel-menu

Version:

React components & hooks for building a radial wheel menu

17 lines (16 loc) 595 B
import { CSSProperties } from 'react'; import { LabelJustification } from './LabelJustification'; import { LabelOffset } from './LabelOffset'; import { LabelOrientation } from './LabelOrientation'; export interface UseLabelProps { readonly className?: string; readonly style?: CSSProperties; readonly orient?: LabelOrientation; readonly justify?: LabelJustification; readonly offset?: LabelOffset; } export interface UseLabelReturn { readonly className: string; readonly style: CSSProperties; } export declare function useLabel(props: UseLabelProps): UseLabelReturn;