简体   繁体   English

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

[英]Can I customize a CustomInput button from reactstrap?

I'm using reactstrap in my project, however when I try to use a custom input to upload a picture, the component shows a button with the name "Browse", since I am creating a project in a different language, I need to change that "Browse" to "Another Word", I've reading the docs but did not find any solution 我在我的项目中使用reactstrap,但是当我尝试使用自定义输入上传图片时,该组件显示一个名为“Browse”的按钮,因为我用其他语言创建项目,我需要更改“浏览”到“另一个词”,我正在阅读文档,但没有找到任何解决方案

在此输入图像描述

Change the css property of content for input type: 更改input类型的内容的css属性:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM