Add end/start to BorderPropTypes

This commit is contained in:
Nicolas Gallagher
2018-02-15 19:08:34 -08:00
parent f1fc2a9e37
commit f37003a079
@@ -16,20 +16,28 @@ const BorderStylePropType = oneOf(['solid', 'dotted', 'dashed']);
const BorderPropTypes = { const BorderPropTypes = {
borderColor: ColorPropType, borderColor: ColorPropType,
borderTopColor: ColorPropType,
borderRightColor: ColorPropType,
borderBottomColor: ColorPropType, borderBottomColor: ColorPropType,
borderEndColor: ColorPropType,
borderLeftColor: ColorPropType, borderLeftColor: ColorPropType,
borderRightColor: ColorPropType,
borderStartColor: ColorPropType,
borderTopColor: ColorPropType,
borderRadius: numberOrString, borderRadius: numberOrString,
borderTopLeftRadius: numberOrString, borderBottomEndRadius: numberOrString,
borderTopRightRadius: numberOrString,
borderBottomLeftRadius: numberOrString, borderBottomLeftRadius: numberOrString,
borderBottomRightRadius: numberOrString, borderBottomRightRadius: numberOrString,
borderBottomStartRadius: numberOrString,
borderTopEndRadius: numberOrString,
borderTopLeftRadius: numberOrString,
borderTopRightRadius: numberOrString,
borderTopStartRadius: numberOrString,
borderStyle: BorderStylePropType, borderStyle: BorderStylePropType,
borderTopStyle: BorderStylePropType,
borderRightStyle: BorderStylePropType,
borderBottomStyle: BorderStylePropType, borderBottomStyle: BorderStylePropType,
borderLeftStyle: BorderStylePropType borderEndStyle: BorderStylePropType,
borderLeftStyle: BorderStylePropType,
borderRightStyle: BorderStylePropType,
borderStartStyle: BorderStylePropType,
borderTopStyle: BorderStylePropType
}; };
export default BorderPropTypes; export default BorderPropTypes;