MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / DefaultLoadingIcon

Function DefaultLoadingIcon

apps/web/ui/Typesense/ui/SearchBox/index.tsx:110–137  ·  view source on GitHub ↗
({ classNames }: IconProps)

Source from the content-addressed store, hash-verified

108}
109
110function DefaultLoadingIcon({ classNames }: IconProps) {
111 return (
112 <svg
113 width="16"
114 height="16"
115 viewBox="0 0 38 38"
116 stroke="#444"
117 className={cx('ais-SearchBox-loadingIcon', classNames.loadingIcon)}
118 aria-hidden="true"
119 >
120 <g fill="none" fillRule="evenodd">
121 <g transform="translate(1 1)" strokeWidth="2">
122 <circle strokeOpacity=".5" cx="18" cy="18" r="18" />
123 <path d="M36 18c0-9.94-8.06-18-18-18">
124 <animateTransform
125 attributeName="transform"
126 type="rotate"
127 from="0 18 18"
128 to="360 18 18"
129 dur="1s"
130 repeatCount="indefinite"
131 />
132 </path>
133 </g>
134 </g>
135 </svg>
136 );
137}
138
139export function SearchBox({
140 formRef,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected