shineout
Version:
A components library for React
14 lines (13 loc) • 384 B
TypeScript
import List from './list';
import BaseItem from './base-item';
type RefList = typeof List;
type RefBaseItem = typeof BaseItem;
export interface BaseItemComponent extends RefBaseItem {
displayName: string;
}
export interface ListComponent extends RefList {
displayName: string;
BaseItem: BaseItemComponent;
}
declare const ListComp: ListComponent;
export default ListComp;