UNPKG

cdbreact

Version:

Elegant UI Kit and reusable components for building mobile-first, responsive webistes and web apps

31 lines (30 loc) 977 B
import React, { MouseEventHandler } from "react"; import PropTypes from "prop-types"; interface Props { active: boolean; alt: string; children: React.ReactNode; className: string; img: string; onClick: MouseEventHandler<HTMLElement>; } declare const CarouselIndicator: { (props: Props): JSX.Element; propTypes: { active: PropTypes.Validator<boolean>; alt: PropTypes.Requireable<string>; children: PropTypes.Requireable<PropTypes.ReactNodeLike>; className: PropTypes.Requireable<string>; img: PropTypes.Requireable<string>; onClick: PropTypes.Requireable<(...args: any[]) => any>; }; defaultProps: { alt: string; className: string; img: string; onClick: (event: React.MouseEvent<HTMLInputElement>) => void; children: any; }; }; export default CarouselIndicator; export { CarouselIndicator as CDBCarouselIndicator };