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

Function defaultValues

packages/studio/styled-system/patterns/float.mjs:41–44  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

39 };
40},
41defaultValues(props) {
42 const offset = props.offset || "0";
43 return { offset, offsetX: offset, offsetY: offset, placement: "top-end" };
44}}
45
46export const getFloatStyle = (styles = {}) => {
47 const _styles = getPatternStyles(floatConfig, styles)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected