UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

15 lines (14 loc) 470 B
import React from 'react'; export interface CollapseContextType { activeSet: Set<string>; expandIcon: React.ReactNode; collapseIcon: React.ReactNode; clickHeaderToExpand: boolean; keepDOM: boolean; expandIconPosition: 'left' | 'right'; onClick: (activeKey: string, e: React.MouseEvent) => void; motion: boolean; lazyRender: boolean; } declare const CollapseContext: React.Context<CollapseContextType>; export default CollapseContext;