UNPKG

react-native-web

Version:
46 lines (45 loc) 1.02 kB
/** * Copyright (c) Nicolas Gallagher. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @noflow */ import valueParser from 'postcss-value-parser'; const invalidShortforms = { background: true, borderBottom: true, borderLeft: true, borderRight: true, borderTop: true, font: true, grid: true, outline: true, textDecoration: true }; const invalidMultiValueShortforms = { flex: true, margin: true, padding: true, borderColor: true, borderRadius: true, borderStyle: true, borderWidth: true, inset: true, insetBlock: true, insetInline: true, marginBlock: true, marginInline: true, marginHorizontal: true, marginVertical: true, paddingBlock: true, paddingInline: true, paddingHorizontal: true, paddingVertical: true, overflow: true, overscrollBehavior: true, backgroundPosition: true }; declare function error(message: any): any; declare export function validate(obj: Object): any;