import React, { ReactNode } from "react"; import { ReactUnity } from "@reactunity/renderer"; import { View } from "@reactunity/renderer/ugui"; //#region src/util/hooks/use-control-check.d.ts interface ControlProps { value?: T; defaultValue?: T; onChange?: (value: T) => void; readOnly?: boolean; } interface ControlRef { getValue: () => T | undefined; setValue: (value: T, skipNotify?: boolean) => void; } //#endregion //#region src/slider/index.d.ts type SliderDirection = 'horizontal' | 'vertical' | 'horizontal-reverse' | 'vertical-reverse'; type SliderMode = 'normal' | 'diff' | 'falloff'; type SliderValuePosition = 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'center'; type SliderChildCallback = (val: number) => ReactNode; interface SliderRef extends ControlRef { root: ReactUnity.UGUI.ContainerComponent; } interface SliderProps extends View, ControlProps { min?: number; max?: number; step?: number; keyStep?: number; mode?: SliderMode; allowScroll?: boolean; scrollMultiplier?: number; direction?: SliderDirection; valuePosition?: SliderValuePosition; children?: ReactNode | SliderChildCallback; } declare const Slider: React.NamedExoticComponent>; //#endregion export { SliderProps as a, SliderMode as i, SliderChildCallback as n, SliderRef as o, SliderDirection as r, SliderValuePosition as s, Slider as t }; //# sourceMappingURL=index-DVy7-FfC.d.ts.map