MCPcopy Create free account
hub / github.com/adobe/react-spectrum / previewInputStyle

Function previewInputStyle

packages/dev/s2-docs/src/TypographySearchView.tsx:211–212  ·  view source on GitHub ↗
(renderProps: InputRenderProps)

Source from the content-addressed store, hash-verified

209 const fontStyleClass =
210 selectedFont in fontStyles ? fontStyles[selectedFont as FontStyleKey] : undefined;
211 const previewInputStyle = (renderProps: InputRenderProps) =>
212 `${defaultPreviewInputStyle(renderProps)} ${fontStyleClass || ''}`;
213
214 const sections = useMemo(() => {
215 const searchLower = searchValue.toLowerCase();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected