You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmdk/src/index.tsx
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,13 +31,17 @@ type ItemProps = Children &
31
31
* If no value is provided, it will be inferred from `children` or the rendered `textContent`. If your `textContent` changes between renders, you _must_ provide a stable, unique `value`.
32
32
*/
33
33
value?: string
34
+
/** Whether this item is forcibly rendered regardless of filtering. */
35
+
forceMount?: boolean
34
36
}
35
37
typeGroupProps=Children&
36
38
Omit<DivProps,'heading'|'value'>&{
37
39
/** Optional heading to render for this group. */
38
40
heading?: React.ReactNode
39
41
/** If no heading is provided, you must provide a value that is unique for this group. */
40
42
value?: string
43
+
/** Whether this group is forcibly rendered regardless of filtering. */
0 commit comments