MCPcopy Create free account
hub / github.com/dailydotdev/apps / Pointer

Function Pointer

packages/shared/src/components/alert/Pointer.tsx:20–30  ·  view source on GitHub ↗
(
  { color, ...props }: PointerProps,
  ref: ForwardedRef<HTMLDivElement>,
)

Source from the content-addressed store, hash-verified

18}
19
20function Pointer(
21 { color, ...props }: PointerProps,
22 ref: ForwardedRef<HTMLDivElement>,
23): ReactElement {
24 return (
25 <PointerContainer {...props} ref={ref}>
26 <PointerPoint className={color} />
27 <PointerLine className={color} />
28 </PointerContainer>
29 );
30}
31
32export default forwardRef(Pointer);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected