antoniopresto / antd-mask-input

MIT License
88 stars 38 forks source link

Custom className prefix #58

Closed itsalb3rt closed 2 years ago

itsalb3rt commented 2 years ago

I have a custom prefixCls using the ConfigProvider component from antD, I have a way to overwrite the default class of the input ?

image

itsalb3rt commented 2 years ago

Solve it with className prop

            <MaskedInput
              className="my-custom-class-subfix-input"
              mask={'+1(000) 000-0000'}
            />