Skip to content

Commit 05a4493

Browse files
committed
chore: remove toString util
1 parent bfbf356 commit 05a4493

File tree

1 file changed

+0
-9
lines changed
  • packages/dropdowns/src/elements/combobox

1 file changed

+0
-9
lines changed

packages/dropdowns/src/elements/combobox/utils.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ import { Children, ReactNode, isValidElement } from 'react';
99
import { IOption, IUseComboboxProps } from '@zendeskgarden/container-combobox';
1010
import { IOptGroupProps, IOptionProps } from '../../types';
1111

12-
/**
13-
* Convert an option object to a string.
14-
*
15-
* @param option An option of type `IOption`.
16-
*
17-
* @returns A string based on `option.value`.
18-
*/
19-
export const toString = (option: IOption) => option.value;
20-
2112
/**
2213
* Convert `Option` props to a valid object for `useCombobox`.
2314
*

0 commit comments

Comments
 (0)