import { Select, Spin } from 'antd'; import React from 'react'; import { useGraphin } from '../../context'; import './index.less'; interface LayoutOption { type: string; label?: string; icon: React.ReactNode; } interface LayoutSelectorProps { options: LayoutOption[]; onChange: (value: string) => void; value?: string; } export const LayoutSelector: React.FC = (props) => { const { value, onChange, options } = props; const { graph, isReady } = useGraphin(); return (
); };