import classNames from 'classnames'; import React from 'react'; import EnhancedSelectInputOption, { EnhancedSelectInputOptionProps, } from './EnhancedSelectInputOption'; import styles from './HintedSelectInputOption.css'; interface HintedSelectInputOptionProps extends Omit { value: string; hint?: React.ReactNode; dividerAfter?: boolean; isSelected?: boolean; } function HintedSelectInputOption(props: HintedSelectInputOptionProps) { const { id, value, hint, depth, isSelected = false, isMobile, dividerAfter = false, ...otherProps } = props; return ( <>
{value}
{hint != null &&
{hint}
}
{dividerAfter ?
: null} ); } export default HintedSelectInputOption;