reactstrap-formik icon indicating copy to clipboard operation
reactstrap-formik copied to clipboard

Allow classNames for <FormGroup> and <label>

Open CatVas opened this issue 5 years ago • 1 comments

Please allow to set classes for <FormGroup> and <label>. E. g:

<Field classNameFormGroup="class-form-group" classNameLabel="class-for-label" component={ReactstrapFormikInput} />

Currently if we can set classes className="input-class", it applies only to <input>.

CatVas avatar Mar 31 '20 12:03 CatVas

Hey @CatVas , if you check inspector, you'll notice that both FormGroup and Label has classNames, so you can simply overwrite them, sth like below in sass2.0 :

.form-group {
      .label-color {
      }
}

Arshazar avatar Jun 05 '20 07:06 Arshazar