@praetorian-chariot/ui
Version:
The UI component library for Chariot, built with Tailwind CSS and React.
10 lines • 335 B
TypeScript
import React from 'react';
export type ViewMode = 'table' | 'graph';
export interface ViewToggleProps {
mode: ViewMode;
onChange: (mode: ViewMode) => void;
className?: string;
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
}
export declare const ViewToggle: React.FC<ViewToggleProps>;
//# sourceMappingURL=ViewToggle.d.ts.map