UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

29 lines (28 loc) 799 B
import React from 'react'; export interface SidebarGroupDefaultProps { name: string; skeleton?: false; id: string; edit?: boolean; actions?: React.ReactNode; checkbox?: React.ReactNode; over?: boolean; open?: boolean; color?: string; isDefault?: boolean; active?: boolean; onHandleOpen?: () => void; } export interface SidebarGroupSkeletonProps { skeleton: true; open?: boolean; color?: string; isDefault?: boolean; onHandleOpen?: () => void; } export type SidebarGroupProps = (SidebarGroupDefaultProps | SidebarGroupSkeletonProps) & React.PropsWithChildren; export declare const SidebarGroup: React.FC<SidebarGroupProps>; export declare const SidebarGroups: React.FC<{ children: React.ReactNode; }>; export * from './styled';