UNPKG

@coreui/react

Version:

UI Components Library for React.js

22 lines (21 loc) 876 B
import { ElementType, HTMLAttributes } from 'react'; import { PolymorphicRefForwardingComponent } from '../../helpers'; export interface CListGroupProps extends HTMLAttributes<HTMLDivElement | HTMLUListElement> { /** * Component used for the root node. Either a string to use a HTML element or a component. */ as?: ElementType; /** * A string of all className you want applied to the component. */ className?: string; /** * Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., `<CCard>`). */ flush?: boolean; /** * Specify a layout type. */ layout?: 'horizontal' | 'horizontal-sm' | 'horizontal-md' | 'horizontal-lg' | 'horizontal-xl' | 'horizontal-xxl'; } export declare const CListGroup: PolymorphicRefForwardingComponent<'ul', CListGroupProps>;