package customtextfield

import "github.com/emarifer/go-templ-project-structure/models"

templ CustomTextFieldv2(inp models.CustomTextFieldv2Prm) {
	<div class="form-group">
		<label class="text-black" style="font-family: Poppins; font-weight: 600;">{ inp.Label } </label>
		<input
			id={ inp.Name }
			name={ inp.Name }
			type={ inp.Type }
			placeholder={ inp.Placeholder }
			value={ inp.Value }
			class="form-control bg-field border-0 h-auto py-6 px-6 rounded-lg"
		/>
	</div>
}
