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.

13 lines (12 loc) 416 B
import React from 'react'; import { RowProps } from '../grid/row'; import { ColProps } from '../grid/col'; export interface Grid extends RowProps, ColProps { } export interface ListContextValue { onRightClick?: React.MouseEventHandler<HTMLLIElement>; onClick?: React.MouseEventHandler<HTMLLIElement>; grid?: Grid; } declare const ListContext: React.Context<ListContextValue>; export default ListContext;