MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / Badge

Function Badge

packages/frontend/src/ui/badge.tsx:3–9  ·  view source on GitHub ↗
(props: {children: JSX.Element})

Source from the content-addressed store, hash-verified

1import {JSX} from 'solid-js'
2
3export function Badge(props: {children: JSX.Element}): JSX.Element {
4 return (
5 <div class="inline-block p-x-1 bg-cyan-600 bg-opacity-20 rounded text-cyan-600 uppercase font-700 text-2.5 select-none">
6 {props.children}
7 </div>
8 )
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…