@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
9 lines (8 loc) • 331 B
TypeScript
import { Dispatch, HTMLAttributes, SetStateAction } from 'react';
export interface ArrowProps {
type: 'prev' | 'next';
currentItem: number;
setCurrentItem: Dispatch<SetStateAction<number>>;
className?: HTMLAttributes<HTMLButtonElement>['className'];
}
export default function Arrow(props: ArrowProps): JSX.Element;