MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / style

Function style

app/components/Resizable.tsx:68–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }, [handleDrag, handleDragEnd]);
67
68 const style = () => {
69 let formatted = dimension + "px";
70
71 if (isHorizontal) {
72 return {
73 width: formatted,
74 };
75 } else {
76 return {
77 height: formatted,
78 };
79 }
80 };
81
82 const classes = () => {
83 if (isHorizontal) {

Callers 1

ResizableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected