tengo este codigo
import { Modal } from "antd"; import styled from "styled-components"; export const StANTModal = styled(Modal)` & .ant-modal-content { border-radius: 20px; overflow: hidden; } `;y usando así
<StANTModal visible={showModal} footer={false} closable={false} onCancel={() => setShowModal(false)} transitionName="ant-move-down" maskTransitionName="ant-move-down" width={600} > // not related code </StANTModal>y tengo este registro
warning :react-dom.development.js:67 Warning: Received `false` for a non-boolean attribute `visible`. If you want to write it to the DOM, pass a string instead: visible="false" or visible={value.toString()}. If you used to conditionally omit it with visible={condition && value}, pass visible={condition ? value : undefined} instead.Funciona perfectamente pero no quiero ver este registro en mi consola.
Estoy usando reaccionar con mecanografiado y diseño de hormigas.
Este problema es de la biblioteca antd