props.d.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. export declare const commonProps: {
  2. value: {
  3. type: StringConstructor;
  4. observer(value: string): void;
  5. };
  6. placeholder: StringConstructor;
  7. placeholderStyle: StringConstructor;
  8. placeholderClass: StringConstructor;
  9. disabled: BooleanConstructor;
  10. maxlength: {
  11. type: NumberConstructor;
  12. value: number;
  13. };
  14. cursorSpacing: {
  15. type: NumberConstructor;
  16. value: number;
  17. };
  18. autoFocus: BooleanConstructor;
  19. focus: BooleanConstructor;
  20. cursor: {
  21. type: NumberConstructor;
  22. value: number;
  23. };
  24. selectionStart: {
  25. type: NumberConstructor;
  26. value: number;
  27. };
  28. selectionEnd: {
  29. type: NumberConstructor;
  30. value: number;
  31. };
  32. adjustPosition: {
  33. type: BooleanConstructor;
  34. value: boolean;
  35. };
  36. holdKeyboard: BooleanConstructor;
  37. };
  38. export declare const inputProps: {
  39. type: {
  40. type: StringConstructor;
  41. value: string;
  42. };
  43. password: BooleanConstructor;
  44. confirmType: StringConstructor;
  45. confirmHold: BooleanConstructor;
  46. };
  47. export declare const textareaProps: {
  48. autoHeight: BooleanConstructor;
  49. fixed: BooleanConstructor;
  50. showConfirmBar: {
  51. type: BooleanConstructor;
  52. value: boolean;
  53. };
  54. disableDefaultPadding: {
  55. type: BooleanConstructor;
  56. value: boolean;
  57. };
  58. };