File tree Expand file tree Collapse file tree
packages/docs-gesture-handler Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ code2={
8383| ` Gesture.Hover() ` | ` useHoverGesture() ` |
8484| ` Gesture.Native() ` | ` useNativeGesture() ` |
8585| ` Gesture.Manual() ` | ` useManualGesture() ` |
86- | ` Gesture.ForceTouch() ` | |
86+ | ` Gesture.ForceTouch() ` | * Not available in hook API * |
8787
8888{ /* <HooksTable /> */ }
8989
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const MDXDetails = (props) => {
55 // Split summary item from the rest to pass it as a separate prop to the
66 // Details theme component
77 const summary = items . find (
8- ( item ) => React . isValidElement ( item ) && item . props ?. mdxType === 'summary'
8+ ( item ) => React . isValidElement ( item ) && item . type === 'summary'
99 ) ;
1010
1111 const children = < > { items . filter ( ( item ) => item !== summary ) } </ > ;
You can’t perform that action at this time.
0 commit comments