react-wheel-menu
Version:
React components & hooks for building a radial wheel menu
15 lines (14 loc) • 523 B
TypeScript
import { CSSProperties } from 'react';
import { LayoutDirection } from './LayoutDirection';
import { LayoutJustification } from './LayoutJustification';
export interface UseLayoutProps {
readonly className?: string;
readonly style?: CSSProperties;
readonly direction?: LayoutDirection;
readonly justify?: LayoutJustification;
}
export interface UseLayoutReturn {
readonly className: string;
readonly style: CSSProperties;
}
export declare function useLayout(props: UseLayoutProps): UseLayoutReturn;