packageDocumentation module import classnames from "classnames" ; import * as React from "react" ; import { LabeledComponentProps , MessagedComponentProps } from "../inputs/LabeledComponentProps" ; import { Select , SelectProps } from "./Select" ; public deprecated export interface LabeledSelectProps extends SelectProps , LabeledComponentProps , MessagedComponentProps { } public deprecated export class LabeledSelect extends React . PureComponent < LabeledSelectProps > { public override render ( ) { const { label , status , className , style , inputClassName , inputStyle , labelClassName , labelStyle , message , messageClassName , messageStyle , ... props } = this . props ; return ( < label style = { style } className = { classnames ( "uicore-inputs-labeled-select" , this . props . disabled && "uicore-disabled" , status , className ) } > { label && < div className = { classnames ( "uicore-label" , labelClassName ) } style = { labelStyle } > { label } < /div>} < Select disabled = { this . props . disabled } className = { inputClassName } style = { inputStyle } { ... props } /> { message && < div className = { classnames ( "uicore-message" , messageClassName ) } style = { messageStyle } > { message } < /div>} < /label>); } }