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

Function getButtonIcon

packages/dev/s2-docs/src/Header.tsx:23–25  ·  view source on GitHub ↗
(currentPage)

Source from the content-addressed store, hash-verified

21}
22
23function getButtonIcon(currentPage) {
24 return getLibraryIcon(getLibraryFromPage(currentPage));
25}
26
27const libraryStyles = style({
28 ...focusRing(),

Callers 1

HeaderFunction · 0.85

Calls 2

getLibraryIconFunction · 0.90
getLibraryFromPageFunction · 0.90

Tested by

no test coverage detected