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

Function expand

packages/@react-spectrum/s2/src/SideNavPanel.tsx:132–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 }
131
132 let expand = () => {
133 startTransition(() => {
134 addTransitionType(EXPAND_TRANSITION);
135 setContentCollapsed(false);
136 });
137 };
138
139 if (reduceMotion) {
140 expand();

Callers 2

SideNavPanel.tsxFile · 0.85
onTransitionEndFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected