MCPcopy Create free account
hub / github.com/chakra-ui/panda / getStackStyle

Function getStackStyle

packages/studio/styled-system/patterns/stack.mjs:18–21  ·  view source on GitHub ↗
(styles = {})

Source from the content-addressed store, hash-verified

16defaultValues:{direction:'column',gap:'8px'}}
17
18export const getStackStyle = (styles = {}) => {
19 const _styles = getPatternStyles(stackConfig, styles)
20 return stackConfig.transform(_styles, patternFns)
21}
22
23export const stack = (styles) => css(getStackStyle(styles))
24stack.raw = getStackStyle

Callers 2

stack.mjsFile · 0.90
stackFunction · 0.85

Calls 2

getPatternStylesFunction · 0.90
transformMethod · 0.45

Tested by

no test coverage detected