From 7d65edec9783eb5904eb06d22b3cb797df487ca3 Mon Sep 17 00:00:00 2001 From: Filip Solecki Date: Wed, 17 Jan 2024 14:19:49 +0100 Subject: [PATCH] Add props descriptions --- src/components/SelectionList/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/SelectionList/types.ts b/src/components/SelectionList/types.ts index c092f266046a..5c28a139903d 100644 --- a/src/components/SelectionList/types.ts +++ b/src/components/SelectionList/types.ts @@ -69,8 +69,10 @@ type User = { invitedSecondaryLogin?: string; + /** Represents the index of the section it came from */ sectionIndex: number; + /** Represents the index of the option within the section it came from */ index: number; }; @@ -109,8 +111,10 @@ type RadioItem = { /** The type of action that's pending */ pendingAction?: undefined; + /** Represents the index of the section it came from */ sectionIndex: number; + /** Represents the index of the option within the section it came from */ index: number; };