2023-02-02 11:12:31 +00:00
|
|
|
import { StyleType } from './functions.any';
|
2019-04-29 11:37:30 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|