UNPKG

understyle

Version:

Functional style utilities for authoring JavaScript style objects

70 lines (60 loc) 1.14 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var string = 'string'; var number = 'number'; var bool = 'boolean'; var propTypes = { display: string, width: number, fontSize: number, align: string, bold: bool, caps: bool, margin: number, marginTop: number, marginRight: number, marginBottom: number, marginLeft: number, marginX: number, marginY: number, m: number, mt: number, mr: number, mb: number, ml: number, mx: number, my: number, padding: number, paddingTop: number, paddingRight: number, paddingBottom: number, paddingLeft: number, paddingX: number, paddingY: number, p: number, pt: number, pr: number, pb: number, pl: number, px: number, py: number, flexWrap: string, alignItems: string, justifyContent: string, flexDirection: string, flexAuto: string, flexNone: string, border: string, borderTop: string, borderRight: string, borderBottom: string, borderLeft: string, rounded: string, color: string, bg: string, backgroundColor: string, borderColor: string }; exports.default = propTypes;