@@ -83,7 +83,7 @@ function App() {
8383 } ;
8484 } , [ handleComboBoxChange ] ) ;
8585
86- /* `MultiComboBox`: component usage */
86+ /* `MultiComboBox`: Accepts unrestricted string */
8787 const [ multiComboBoxValue , setMultiComboBoxValue ] = useState < string > ( "" ) ;
8888 const multiComboBoxRef = useRef < typeof MultiComboBox > ( null ) ;
8989
@@ -99,7 +99,7 @@ function App() {
9999 } ;
100100 } , [ handleMultiComboBoxChange ] ) ;
101101
102- /* `Select` component usage */
102+ /* `Select`: Accepts enum-like string */
103103 const [ selectValue , setSelectValue ] = useState < string > ( "" ) ;
104104 const selectRef = useRef < typeof Select > ( null ) ;
105105
@@ -179,7 +179,7 @@ function App() {
179179 } ;
180180 } , [ handleTimePickerChange ] ) ;
181181
182- /* `ColorPicker` component usage */
182+ /* `ColorPicker`: Accepts restricted values only */
183183 const [ colorPickerValue , setColorPickerValue ] = useState < string > ( "" ) ;
184184 const colorPickerRef = useRef < typeof ColorPicker > ( null ) ;
185185
@@ -195,7 +195,7 @@ function App() {
195195 } ;
196196 } , [ handleColorPickerChange ] ) ;
197197
198- /* `ColorPaletteItem` component usage */
198+ /* `ColorPaletteItem`: Accepts restricted values only */
199199 const [ colorPaletteItemValue , setColorPaletteItemValue ] = useState < string > ( "" ) ;
200200 const colorPaletteItemRef = useRef < typeof ColorPaletteItem > ( null ) ;
201201
@@ -211,7 +211,7 @@ function App() {
211211 } ;
212212 } , [ handleColorPaletteItemChange ] ) ;
213213
214- /* `CalendarDate` component usage */
214+ /* `CalendarDate` Accepts restricted values only */
215215 const [ calendarDateValue , setCalendarDateValue ] = useState < string > ( "" ) ;
216216 const calendarDateRef = useRef < typeof CalendarDate > ( null ) ;
217217
@@ -227,7 +227,7 @@ function App() {
227227 } ;
228228 } , [ handleCalendarDateChange ] ) ;
229229
230- /* `FileUploader` component usage */
230+ /* `FileUploader`: does not accept values other than file picker based input */
231231 const [ fileUploaderValue , setFileUploaderValue ] = useState < string > ( "" ) ;
232232 const fileUploaderRef = useRef < typeof FileUploader > ( null ) ;
233233
@@ -243,7 +243,7 @@ function App() {
243243 } ;
244244 } , [ handleFileUploaderChange ] ) ;
245245
246- /* `CheckBox` component usage */
246+ /* `CheckBox`: does not accept arbitrary values */
247247 const [ checkBoxValue , setCheckBoxValue ] = useState < string > ( "" ) ;
248248 const checkBoxRef = useRef < typeof CheckBox > ( null ) ;
249249
@@ -259,7 +259,7 @@ function App() {
259259 } ;
260260 } , [ handleCheckBoxChange ] ) ;
261261
262- /* `RadioButton` component usage */
262+ /* `RadioButton`: does not accept arbitrary values */
263263 const [ radioButtonValue , setRadioButtonValue ] = useState < string > ( "" ) ;
264264 const radioButtonRef = useRef < typeof RadioButton > ( null ) ;
265265
@@ -275,7 +275,7 @@ function App() {
275275 } ;
276276 } , [ handleRadioButtonChange ] ) ;
277277
278- /* `Switch` component usage */
278+ /* `Switch`: does not accept arbitrary values */
279279 const [ switchValue , setSwitchValue ] = useState < string > ( "" ) ;
280280 const switchRef = useRef < typeof Switch > ( null ) ;
281281
@@ -323,7 +323,7 @@ function App() {
323323 } ;
324324 } , [ handleOptionCustomChange ] ) ;
325325
326- /* `RatingIndicator` component usage */
326+ /* `RatingIndicator`: does not accept arbitrary values */
327327 const [ ratingIndicatorValue , setRatingIndicatorValue ] = useState < string > ( "" ) ;
328328 const ratingIndicatorRef = useRef < typeof RatingIndicator > ( null ) ;
329329
@@ -339,7 +339,7 @@ function App() {
339339 } ;
340340 } , [ handleRatingIndicatorChange ] ) ;
341341
342- /* `Slider` component usage */
342+ /* `Slider`: does not accept arbitrary values */
343343 const [ sliderValue , setSliderValue ] = useState < string > ( "" ) ;
344344 const sliderRef = useRef < typeof Slider > ( null ) ;
345345
@@ -355,7 +355,7 @@ function App() {
355355 } ;
356356 } , [ handleSliderChange ] ) ;
357357
358- /* `ProgressIndicator` component usage */
358+ /* `ProgressIndicator`: does not accept arbitrary values */
359359 const [ progressIndicatorValue , setProgressIndicatorValue ] = useState < string > ( "" ) ;
360360 const progressIndicatorRef = useRef < typeof ProgressIndicator > ( null ) ;
361361
@@ -371,7 +371,7 @@ function App() {
371371 } ;
372372 } , [ handleProgressIndicatorChange ] ) ;
373373
374- /* `StepInput` component usage */
374+ /* `StepInput`: does not accept arbitrary values */
375375 const [ stepInputValue , setStepInputValue ] = useState < string > ( "" ) ;
376376 const stepInputRef = useRef < typeof StepInput > ( null ) ;
377377
@@ -387,7 +387,7 @@ function App() {
387387 } ;
388388 } , [ handleStepInputChange ] ) ;
389389
390- /* `DynamicDateRange` component usage */
390+ /* `DynamicDateRange`: does not accept arbitrary values */
391391 const [ dynamicDateRangeValue , setDynamicDateRangeValue ] = useState < string > ( "" ) ;
392392 const dynamicDateRangeRef = useRef < typeof DynamicDateRange > ( null ) ;
393393
@@ -403,7 +403,7 @@ function App() {
403403 } ;
404404 } , [ handleDynamicDateRangeChange ] ) ;
405405
406- /* `RangeSlider` component usage */
406+ /* `RangeSlider`: does not accept arbitrary values */
407407 const [ rangeSliderValue , setRangeSliderValue ] = useState < string > ( "" ) ;
408408 const rangeSliderRef = useRef < typeof RangeSlider > ( null ) ;
409409
@@ -419,7 +419,7 @@ function App() {
419419 } ;
420420 } , [ handleRangeSliderChange ] ) ;
421421
422- /* `Button` component usage */
422+ /* `Button`: does not accept arbitrary values */
423423 const [ buttonValue , setButtonValue ] = useState < string > ( "" ) ;
424424 const buttonRef = useRef < typeof Button > ( null ) ;
425425
@@ -435,7 +435,7 @@ function App() {
435435 } ;
436436 } , [ handleButtonChange ] ) ;
437437
438- /* `MessageViewButton` component usage */
438+ /* `MessageViewButton`: does not accept arbitrary values */
439439 const [ messageViewButtonValue , setMessageViewButtonValue ] = useState < string > ( "" ) ;
440440 const messageViewButtonRef = useRef < typeof MessageViewButton > ( null ) ;
441441
@@ -451,7 +451,7 @@ function App() {
451451 } ;
452452 } , [ handleMessageViewButtonChange ] ) ;
453453
454- /* `SegmentedButton` component usage */
454+ /* `SegmentedButton`: does not accept arbitrary values */
455455 const [ segmentedButtonValue , setSegmentedButtonValue ] = useState < string > ( "" ) ;
456456 const segmentedButtonRef = useRef < typeof SegmentedButton > ( null ) ;
457457
@@ -467,7 +467,7 @@ function App() {
467467 } ;
468468 } , [ handleSegmentedButtonChange ] ) ;
469469
470- /* `SplitButton` component usage */
470+ /* `SplitButton`: does not accept arbitrary values */
471471 const [ splitButtonValue , setSplitButtonValue ] = useState < string > ( "" ) ;
472472 const splitButtonRef = useRef < typeof SplitButton > ( null ) ;
473473
@@ -483,7 +483,7 @@ function App() {
483483 } ;
484484 } , [ handleSplitButtonChange ] ) ;
485485
486- /* `ToggleButton` component usage */
486+ /* `ToggleButton`: does not accept arbitrary values */
487487 const [ toggleButtonValue , setToggleButtonValue ] = useState < string > ( "" ) ;
488488 const toggleButtonRef = useRef < typeof ToggleButton > ( null ) ;
489489
0 commit comments