|
|
@ -154,14 +154,14 @@ function TextInput(
|
|
|
|
switch (startAddOnType) {
|
|
|
|
switch (startAddOnType) {
|
|
|
|
case 'label':
|
|
|
|
case 'label':
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="pointer-events-none flex items-center pl-3 text-slate-500">
|
|
|
|
<div className="pointer-events-none flex items-center px-2 text-slate-500">
|
|
|
|
{startAddOn}
|
|
|
|
{startAddOn}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
case 'icon': {
|
|
|
|
case 'icon': {
|
|
|
|
const StartAddOn = startAddOn;
|
|
|
|
const StartAddOn = startAddOn;
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="pointer-events-none flex items-center pl-3">
|
|
|
|
<div className="pointer-events-none flex items-center px-2">
|
|
|
|
<StartAddOn
|
|
|
|
<StartAddOn
|
|
|
|
aria-hidden="true"
|
|
|
|
aria-hidden="true"
|
|
|
|
className="h-5 w-5 text-slate-400"
|
|
|
|
className="h-5 w-5 text-slate-400"
|
|
|
|