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.ts 454B

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