Skip to content

Commit

Permalink
Comments (deephaven#2065)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jun 12, 2024
1 parent 18108c2 commit 648b3ea
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ export interface UseOnChangeTrackUncontrolledResult<TChangeKey> {
}

/**
* Returns a selectedKey and onChange handler that can manage selection for both
* controlled and uncontrolled components. Useful for cases where the component
* needs to know the last selectedKey regardless of controlled or uncontrolled.
* Returns a selectedKey and onChange handler that can manage selection state
* for both controlled and uncontrolled components. Useful for cases where a
* component needs to always track its selection state regardless of its
* controlled / uncontrolled status.
*/
export function useOnChangeTrackUncontrolled<TChangeKey>({
defaultSelectedKey,
Expand Down

0 comments on commit 648b3ea

Please sign in to comment.