UNPKG

@coreui/react

Version:

UI Components Library for React.js

21 lines (20 loc) 730 B
import React, { HTMLAttributes } from 'react'; export interface CAccordionProps extends HTMLAttributes<HTMLDivElement> { /** * The active item key. */ activeItemKey?: number | string; /** * Make accordion items stay open when another item is opened */ alwaysOpen?: boolean; /** * A string of all className you want applied to the base component. */ className?: string; /** * Removes the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. */ flush?: boolean; } export declare const CAccordion: React.ForwardRefExoticComponent<CAccordionProps & React.RefAttributes<HTMLDivElement>>;