MCPcopy Create free account
hub / github.com/cesanta/mongoose / DeveloperNote

Function DeveloperNote

tutorials/http/device-dashboard/web_root/main.js:147–159  ·  view source on GitHub ↗
({text, children})

Source from the content-addressed store, hash-verified

145};
146
147function DeveloperNote({text, children}) {
148 return html`
149<div class="flex p-4 gap-2">
150 <div class="text-sm text-slate-500">
151 <div class="flex items-center">
152 <${Icons.info} class="self-start basis-[30px] grow-0 shrink-0 text-green-600 mr-2" />
153 <div class="font-semibold">Developer Note<//>
154 <//>
155 ${(text || '').split('.').map(v => html` <p class="my-2 ">${v}<//>`)}
156 ${children}
157 <//>
158<//>`;
159};
160
161function Main({}) {
162 const [stats, setStats] = useState(null);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected