Sin descripción

index.d.ts 918B

123456789101112131415161718192021222324
  1. /// <reference types="react" />
  2. import React from "react";
  3. interface Props {
  4. rowMode: "single" | "multi";
  5. price: number;
  6. onPriceChange: (v: number) => void;
  7. size: "small" | "normal" | "large";
  8. focusScroll: boolean;
  9. withTitle: boolean;
  10. titleText?: string | JSX.Element[] | JSX.Element;
  11. inputPlaceholderText?: string;
  12. priceOptions?: Array<any>;
  13. priceRender?: Function;
  14. inputPriceRender?: Function;
  15. inputSuffix?: string | JSX.Element[] | JSX.Element;
  16. injectOptions?: {
  17. priceBtnClass: (isActive: boolean) => any;
  18. priceInputClass: Function;
  19. };
  20. inputRef: React.RefObject<any>;
  21. }
  22. declare const PriceOptions: ({ price, onPriceChange, rowMode, size, focusScroll, withTitle, titleText, inputPlaceholderText, priceOptions, priceRender, inputPriceRender, inputSuffix, injectOptions, inputRef }: Props) => JSX.Element;
  23. export { PriceOptions as default };