19 lines
459 B
JavaScript
19 lines
459 B
JavaScript
// @flow
|
|
|
|
import { type 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;
|
|
}
|