UNPKG

@julio-soto/react-compare-slider

Version:

A slider component to compare any two React components in landscape or portrait orientation. It supports custom images, videos... and everything else.

10 lines (9 loc) 324 B
/** Slider position property. */ export declare type ReactCompareSliderPropPosition = number; /** Common props shared between components. */ export interface ReactCompareSliderCommonProps { /** Orientation. */ portrait?: boolean; /** Divider position. */ position: ReactCompareSliderPropPosition; }