From 75691dcc79730b765802970153b8dd047a9009da Mon Sep 17 00:00:00 2001 From: Brian Ingles Date: Tue, 21 May 2024 10:20:20 -0500 Subject: [PATCH] comment (#445) --- .../ui/src/js/src/elements/spectrum/useSelectionProps.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/ui/src/js/src/elements/spectrum/useSelectionProps.ts b/plugins/ui/src/js/src/elements/spectrum/useSelectionProps.ts index 99ecf2d51..b802626b2 100644 --- a/plugins/ui/src/js/src/elements/spectrum/useSelectionProps.ts +++ b/plugins/ui/src/js/src/elements/spectrum/useSelectionProps.ts @@ -8,6 +8,9 @@ export type SerializedSelectionEventCallback = ( event: SerializedSelection ) => void; +/** + * Serialized selection props we receive from dh ui. + */ export interface SerializedSelectionProps { selectionMode?: SelectionMode | Uppercase; @@ -21,6 +24,9 @@ export interface SerializedSelectionProps { onSelectionChange?: SerializedSelectionEventCallback; } +/** + * Selection props that can be passed to DHC components. + */ export interface SelectionProps { selectionMode?: SelectionMode; onChange?: (selection: ItemSelection) => void;