UNPKG

react-wheel-menu

Version:

React components & hooks for building a radial wheel menu

10 lines (9 loc) 505 B
import { ComponentPropsWithoutRef, ElementType } from 'react'; import { LayoutDirection } from './LayoutDirection'; import { LayoutJustification } from './LayoutJustification'; export type LayoutProps<T extends ElementType = 'span'> = ComponentPropsWithoutRef<T> & { readonly as?: T; readonly direction?: LayoutDirection; readonly justify?: LayoutJustification; }; export declare function Layout<T extends ElementType = 'span'>(props: LayoutProps<T>): import("react/jsx-runtime").JSX.Element;