Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

setStyle.d.ts 437 B

vor 3 Jahren
123456789101112
  1. import * as React from 'react';
  2. export interface SetStyleOptions {
  3. element?: HTMLElement;
  4. }
  5. /**
  6. * Easy to set element style, return previous style
  7. * IE browser compatible(IE browser doesn't merge overflow style, need to set it separately)
  8. * https://github.com/ant-design/ant-design/issues/19393
  9. *
  10. */
  11. declare function setStyle(style: React.CSSProperties, options?: SetStyleOptions): React.CSSProperties;
  12. export default setStyle;