import type { TextStyle } from '@tamagui/web' export const shorthands = createShorthands({ // text text: 'textAlign', // view b: 'bottom', bg: 'backgroundColor', content: 'alignContent', grow: 'flexGrow', items: 'alignItems', justify: 'justifyContent', l: 'left', m: 'margin', maxH: 'maxHeight', maxW: 'maxWidth', mb: 'marginBottom', minH: 'minHeight', minW: 'minWidth', ml: 'marginLeft', mr: 'marginRight', mt: 'marginTop', mx: 'marginHorizontal', my: 'marginVertical', p: 'padding', pb: 'paddingBottom', pl: 'paddingLeft', pr: 'paddingRight', pt: 'paddingTop', px: 'paddingHorizontal', py: 'paddingVertical', r: 'right', rounded: 'borderRadius', select: 'userSelect', self: 'alignSelf', shrink: 'flexShrink', t: 'top', z: 'zIndex', }) // type helper function createShorthands>(a: A) { return a } export type Shorthands = typeof shorthands export type ShorthandKeys = keyof Shorthands