@synergycodes/axiom
Version:
A React library for creating node-based UIs and diagram-driven applications. Perfect for React Flow users, providing ready-to-use node templates and components that work seamlessly with React Flow's ecosystem.
12 lines (11 loc) • 441 B
TypeScript
import { MouseEventHandler } from 'react';
import { Shape } from '../../button/types';
import { Size } from '../../../shared/types/size';
type SegmentPickerContextType = {
selectedValue: string | null;
onSelect: (event: MouseEventHandler<HTMLButtonElement>, value: string) => void;
size?: Size;
shape?: Shape;
};
export declare const SegmentPickerContext: import('react').Context<SegmentPickerContextType | null>;
export {};