diff --git a/packages/web-kitchensink-reactnext/src/categories/option/react/components/DropdownSelect/index.tsx b/packages/web-kitchensink-reactnext/src/categories/option/react/components/DropdownSelect/index.tsx index 0b0e6fc..ab16903 100644 --- a/packages/web-kitchensink-reactnext/src/categories/option/react/components/DropdownSelect/index.tsx +++ b/packages/web-kitchensink-reactnext/src/categories/option/react/components/DropdownSelect/index.tsx @@ -1,8 +1,6 @@ import * as React from 'react'; import * as TextControlBase from '@tesseract-design/web-base-textcontrol'; -import * as SelectControlBase from '@tesseract-design/web-base-selectcontrol'; import clsx from 'clsx'; -import {RenderOptions} from '@/categories/option/react'; export type DropdownSelectDerivedElement = HTMLSelectElement; @@ -43,7 +41,6 @@ export interface DropdownSelectProps extends Omit { const labelId = React.useId(); - console.log(children); return (
= ({ - options, - optionComponent: Option = 'option', - optgroupComponent: Optgroup = 'optgroup', - level = 0, -}: RenderOptionsProps) => ( - options.map((o) => { - if (typeof o === 'number' || typeof o === 'string') { - return ( - - ); - } - - if (typeof o.children !== 'undefined') { - if (level === 0) { - return ( - - - - ); - } - return ( - - - - - ); - } - - return null; - }) -); diff --git a/packages/web-kitchensink-reactnext/src/categories/option/react/index.ts b/packages/web-kitchensink-reactnext/src/categories/option/react/index.ts index af1c6fb..0d8a157 100644 --- a/packages/web-kitchensink-reactnext/src/categories/option/react/index.ts +++ b/packages/web-kitchensink-reactnext/src/categories/option/react/index.ts @@ -3,7 +3,6 @@ export * from './components/DropdownSelect'; export * from './components/MenuSelect'; export * from './components/RadioButton'; export * from './components/RadioTickBox'; -export * from './components/RenderOptions'; export * from './components/TagInput'; export * from './components/ToggleButton'; export * from './components/ToggleSwitch';