Files
jitsi-meet/react/features/base/styles/functions.native.ts
Robert Pintilii 3a2a129f44 ref(TS) Improve TS (#13167)
Fix some errors. Remove @ts-ignores
Convert some files to TS
Remove some eslint-disables
2023-04-04 17:08:59 +03:00

17 lines
451 B
TypeScript

import { StyleType } from './functions.any';
export * from './functions.any';
/**
* Fixes the style prop that is passed to a platform generic component based on platform specific
* format requirements.
*
* @param {StyleType} style - The passed style prop to the component.
* @returns {StyleType}
*/
export function getFixedPlatformStyle(style?: StyleType): StyleType {
// There is nothing to do on mobile - yet.
return style ?? {};
}