@xyo-network/react-shared
Version:
Common React library for all XYO projects that use React
12 lines • 630 B
TypeScript
import type { SvgIconProps } from '@mui/material';
import type { ReactElement } from 'react';
export type NetworkComponentSlug = 'sentinel' | 'bridge' | 'archivist' | 'diviner' | 'node' | 'witness';
export interface NetworkComponentDetails {
icon: (props?: SvgIconProps) => ReactElement;
name: string;
slug: NetworkComponentSlug;
}
export declare const networkComponents: NetworkComponentDetails[];
export declare const findNetworkComponentIndex: (slug: string) => number;
export declare const findNetworkComponent: (slug: string) => NetworkComponentDetails | undefined;
//# sourceMappingURL=networkComponents.d.ts.map