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

Method constructor

packages/core/src/style-encoder.ts:38–43  ·  view source on GitHub ↗
(
    private context: Pick<
      Context,
      'isTemplateLiteralSyntax' | 'isValidProperty' | 'recipes' | 'patterns' | 'conditions' | 'utility'
    >,
  )

Source from the content-addressed store, hash-verified

36 recipes_base = new Map<string, Set<string>>()
37
38 constructor(
39 private context: Pick<
40 Context,
41 'isTemplateLiteralSyntax' | 'isValidProperty' | 'recipes' | 'patterns' | 'conditions' | 'utility'
42 >,
43 ) {}
44
45 filterStyleProps = (props: Dict): Dict => {
46 if (this.context.isTemplateLiteralSyntax) return props

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected