Warning: Received `false` for a non-boolean attribute `comingsoon`.
If you want to write it to the DOM, pass a string instead:
comingsoon="false" or comingsoon={value.toString()}.
Run Code Online (Sandbox Code Playgroud)
如何在React的自定义属性中传递布尔值?
我正在使用样式组件并通过组件传递属性.这是我如何通过attr的图片.