我可以通过reactstrap自定义CustomInput按钮吗?

时间:2019-06-01 17:05:54

标签: reactjs customization reactstrap

我在项目中使用reactstrap,但是当我尝试使用自定义输入上传图片时,该组件会显示一个名称为“浏览”的按钮,因为我正在使用其他语言创建项目,所以我需要将“浏览”更改为“另一个单词”,我已阅读文档,但未找到任何解决方案

enter image description here

1 个答案:

答案 0 :(得分:0)

更改输入类型的内容的css属性

.custom-file-label::after{
content:"another word"!important;
}
相关问题