zp-bee
Version:
zp-bee,是一款基于 Dumi,由 React + TypeScript 开发的组件库 🎉。
12 lines (11 loc) • 508 B
TypeScript
import React from 'react';
import { AutoWiredProps } from './AutoWired';
export interface ItemProps<T extends {
[key: string]: any;
} = any, P extends Extract<keyof T, string> | Extract<keyof T, string>[] = Extract<keyof T, string> | Extract<keyof T, string>[]> extends AutoWiredProps<T, P> {
wrapperClassName?: string;
wrapperStyle?: React.CSSProperties;
width?: string | number;
}
declare const _default: React.FunctionComponent<ItemProps<any, string | string[]>>;
export default _default;