File tree Expand file tree Collapse file tree
packages/docs-gesture-handler
src/components/HeaderWithBadges Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ cancelable?: null | boolean;
8989
9090Whether a press gesture can be interrupted by a parent gesture such as a scroll event. Defaults to ` true ` .
9191
92- <HeaderWithBadges platforms = { [' web' ]} version = { " 2.20 " } >
92+ <HeaderWithBadges platforms = { [' android ' , ' web' ]} >
9393### onHoverIn
9494</HeaderWithBadges >
9595
@@ -99,7 +99,7 @@ onHoverIn?: null | ((event: PressableEvent) => void);
9999
100100Called when pointer is hovering over the element.
101101
102- <HeaderWithBadges platforms = { [' web' ]} >
102+ <HeaderWithBadges platforms = { [' android ' , ' web' ]} >
103103### onHoverOut
104104</HeaderWithBadges >
105105
Original file line number Diff line number Diff line change @@ -61,9 +61,11 @@ export default function HeaderWithBadges({
6161 < div style = { styles . container } >
6262 { children }
6363
64- { platforms ?. map ( ( platform ) => (
65- < PlatformBadge key = { platform } platform = { platform } />
66- ) ) }
64+ { platforms
65+ ?. sort ( )
66+ . map ( ( platform ) => (
67+ < PlatformBadge key = { platform } platform = { platform } />
68+ ) ) }
6769
6870 { version && < VersionBadge version = { version } /> }
6971 </ div >
You can’t perform that action at this time.
0 commit comments