UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

17 lines (16 loc) 789 B
import { ComponentProps, ComponentPropsWithoutRef, FunctionComponent } from 'react'; import { ArrowsLabels } from './ArrowsLabels'; import { ArrowButton } from '../buttons/ArrowButton'; export interface ArrowsProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> { color?: ComponentProps<typeof ArrowButton>['color']; iconType?: 'ArrowDefault' | 'ArrowTail'; isDisabledHidden?: boolean; isNextDisabled?: boolean; isPrevDisabled?: boolean; labels?: ArrowsLabels; onNext: ComponentProps<typeof ArrowButton>['onClick']; onPrev: ComponentProps<typeof ArrowButton>['onClick']; size?: ComponentProps<typeof ArrowButton>['size']; theme?: ComponentProps<typeof ArrowButton>['theme']; } export declare const Arrows: FunctionComponent<ArrowsProps>;