packageDocumentation module import classnames from "classnames" ; import * as React from "react" ; import { LabeledComponentProps , MessagedComponentProps } from "../inputs/LabeledComponentProps" ; import { ThemedSelect , ThemedSelectProps } from "./ThemedSelect" ; beta deprecated export interface LabeledThemedSelectProps extends ThemedSelectProps , LabeledComponentProps , MessagedComponentProps { } beta deprecated export function LabeledThemedSelect ( props ) { const { label , status , className , style , inputClassName , inputStyle , labelClassName , labelStyle , message , messageClassName , messageStyle , ... otherProps } = props as any ; return ( < label style = { style } className = { classnames ( "uicore-inputs-labeled-themed-select" , props . isDisabled && "uicore-disabled" , status , className ) } > { label && < div className = { classnames ( "uicore-label" , labelClassName ) } style = { labelStyle } > { label } < /div>} < ThemedSelect isDisabled = { props . isDisabled } className = { inputClassName } styles = { inputStyle } { ... otherProps } /> { message && < div className = { classnames ( "uicore-message" , messageClassName ) } style = { messageStyle } > { message } < /div>} < /label>); }