Açıklama Yok

index.d.ts 953B

12345678910111213141516171819202122232425
  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. allowZero: boolean;
  11. titleText?: string | JSX.Element[] | JSX.Element;
  12. inputPlaceholderText?: string;
  13. priceOptions?: Array<any>;
  14. priceRender?: Function;
  15. inputPriceRender?: Function;
  16. inputSuffix?: string | JSX.Element[] | JSX.Element;
  17. injectOptions?: {
  18. priceBtnClass: (isActive: boolean) => any;
  19. priceInputClass: Function;
  20. };
  21. inputRef: React.RefObject<any>;
  22. }
  23. declare const PriceOptions: ({ price, onPriceChange, allowZero, rowMode, size, focusScroll, withTitle, titleText, inputPlaceholderText, priceOptions, priceRender, inputPriceRender, inputSuffix, injectOptions, inputRef }: Props) => JSX.Element;
  24. export { PriceOptions as default };