Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return (
<>
{isOpen && (
<div>
)}
<label style="">
{allProps.label && (
<div>{allProps.label}</div>
)}
<div>
<div>
<button disabled="{allProps.disabled}">
<span aria-hidden="">
{longestMenuItemState.label || allProps.placeholder}
</span>
<span>
{selectedLabel || allProps.placeholder}
</span>
</button>
<div></div></div></div></label></div>
const TextArea = (props, context) => {
const themeName = useTheme()
const allProps = { ...props, themeName }
return (
<label>
{allProps.label && (
<div>{allProps.label}</div>
)}
<div>
<textarea style="{{" placeholder="{allProps.placeholder}" disabled="{allProps.disabled}"> </Halo>
{allProps.error && (
<div {...styles.error(allProps)}>
<WarningIcon />
</div>
)}
</div>
{allProps.subLabel && (</textarea></div></label>
}
const { className, style, ...rest } = props
return (
<label style="{style}">
{props.label && (
<div>{props.label}</div>
)}
<div>
</div></label>
subLabel,
...inputProps
} = allProps
const { fieldRef, inputRef } = useMultipleRefs(forwardedRef)
return (
<label>
{label && <div>{label}</div>}
<div>
<div>
<input placeholder="{allProps.placeholder}" disabled="{allProps.disabled}">
{fieldAfter}
</div>
{icon && <div>{icon}</div>}
{error && (
<div></div></div></label>