@namespace Connected.Components
@inherits UIComponent

<InputControl Label="@Label" HelperText="@HelperText" Variant="@Variant" FullWidth="@FullWidth" Margin="@Margin" Disabled="@Disabled"
                 Class="@InputControlClassname" Error="@Error" ErrorText="@ErrorText" @attributes="CustomAttributes" ForId="@FieldId">
    <InputContent>
        <div class="@Classname">
            @if (Adornment == Adornment.Start)
            {
                <InputAdornment Class="@AdornmentClassname" Icon="@AdornmentIcon" Size="@IconSize" Text="@AdornmentText" Edge="@Edge.Start" AdornmentClick="@OnAdornmentClick" Color="@AdornmentColor" />
            }
            <div class="@InnerClassname">
                @ChildContent
            </div>
            @if (Adornment == Adornment.End)
            {
                <InputAdornment Class="@AdornmentClassname" Icon="@AdornmentIcon" Size="@IconSize" Text="@AdornmentText" Edge="@Edge.End" AdornmentClick="@OnAdornmentClick"  Color="@AdornmentColor" />
            }
            @if (Variant == Variant.Outlined)
            {
                <div class="input-outlined-border"></div>
            }
        </div>
    </InputContent>
</InputControl>

