MCPcopy
hub / github.com/concrete-utopia/utopia / create

Function create

editor/src/components/template-property-path.ts:9–14  ·  view source on GitHub ↗
(elementPath: ElementPath, propertyPath: PropertyPath)

Source from the content-addressed store, hash-verified

7import * as EP from '../core/shared/element-path'
8
9export function create(elementPath: ElementPath, propertyPath: PropertyPath): ElementPropertyPath {
10 return {
11 elementPath: elementPath,
12 propertyPath: propertyPath,
13 }
14}
15
16export function pathsEqual(first: ElementPropertyPath, second: ElementPropertyPath): boolean {
17 return (

Callers 6

assertStylePropsSetFunction · 0.90
comment-popup.tsxFile · 0.90
getIdOfSceneFunction · 0.90
BackgroundPickerFunction · 0.90
useToolbarModeFunction · 0.90
createStoresAndStateFunction · 0.50

Calls

no outgoing calls

Tested by 1

assertStylePropsSetFunction · 0.72