UNPKG

phx-react

Version:

PHX REACT

21 lines (20 loc) 709 B
import React, { ReactNode } from 'react'; import * as SolidIcons from '@heroicons/react/24/solid'; import * as OutlineIcons from '@heroicons/react/24/outline'; export type IconName = keyof typeof SolidIcons | keyof typeof OutlineIcons; export interface ResourceListProps { className?: string; list?: Array<{ id?: number; name?: string; location?: string; avatar?: string; avatarClassname?: string; toggle?: { active?: boolean; onChange(active: boolean): void; }; subContent?: ReactNode | string; }>; } export declare function PHXResourceListSetting({ className, list }: ResourceListProps): React.JSX.Element;