@sinchsmb/ui-kit
Version:
UI kit for SinchSMB frontend
17 lines (16 loc) • 555 B
TypeScript
import { AriaAttributes, ReactNode } from 'react';
import { TestIdProps } from '../../types';
interface TruncatedGroupProps extends TestIdProps {
/** List items */
children: ReactNode;
/** Element that will be rendered as 'more' button */
more: ReactNode;
gap: number;
className?: string;
ariaDescribedBy?: AriaAttributes['aria-describedby'];
}
/**
* Auxiliary component for making auto-collapsible lists, with button 'more' e.g.
*/
export declare function TruncatedGroup(props: TruncatedGroupProps): JSX.Element;
export {};