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

Function transform

packages/studio/styled-system/patterns/hstack.mjs:5–15  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3
4const hstackConfig = {
5transform(props) {
6 const { justify, gap, ...rest } = props;
7 return {
8 display: "flex",
9 alignItems: "center",
10 justifyContent: justify,
11 gap,
12 flexDirection: "row",
13 ...rest
14 };
15},
16defaultValues:{gap:'8px'}}
17
18export const getHstackStyle = (styles = {}) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected