You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

functions.native.js 459B

123456789101112131415161718
  1. // @flow
  2. import { type StyleType } from './functions.any';
  3. export * from './functions.any';
  4. /**
  5. * Fixes the style prop that is passed to a platform generic component based on platform specific
  6. * format requirements.
  7. *
  8. * @param {StyleType} style - The passed style prop to the component.
  9. * @returns {StyleType}
  10. */
  11. export function getFixedPlatformStyle(style: StyleType): StyleType {
  12. // There is nothing to do on mobile - yet.
  13. return style;
  14. }