simple-react-ui
Version:
a simple react component library written in TypeScript+ React.js
24 lines (23 loc) • 525 B
TypeScript
/// <reference types="react" />
import * as React from 'react';
export interface ItemProps {
href: string;
imgSrc: string;
imgAlt: string;
caption: string;
active: boolean;
}
/**
* Carousel 的分项 Item
*/
export declare class Item extends React.Component<ItemProps, any> {
static defaultProps: {
href: string;
imgSrc: string;
imgAlt: string;
caption: string;
active: boolean;
};
render(): JSX.Element;
}
export default Item;