MCPcopy
hub / github.com/plait-board/drawnix / createIcon

Function createIcon

packages/drawnix/src/components/icons.tsx:3–5  ·  view source on GitHub ↗
(svg: React.ReactNode)

Source from the content-addressed store, hash-verified

1import React from 'react';
2
3export const createIcon = (svg: React.ReactNode) => {
4 return svg;
5};
6
7export const HandIcon = createIcon(
8 <svg viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg">

Callers 1

icons.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected