MCPcopy Create free account
hub / github.com/editablejs/editable / renderLoading

Function renderLoading

packages/plugins/image/src/components/image.tsx:151–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 }
150
151 const renderLoading = () => {
152 if (!loading || loaded) return null
153 return (
154 <div tw="absolute left-0 top-0 w-full h-full flex justify-center items-center text-primary">
155 <Icon name="loading" />
156 </div>
157 )
158 }
159
160 const isError = state === 'error' || !!errorMsg
161

Callers 1

image.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…