We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
className
We need to be able to add a class to the overlay portion of the css.. for example:
<Modal className="foo">...</Modal>
should render as:
<div class="ReactModal__Overlay ReactModal__Overlay--foo"> <div class="ReactModal__Content ReactModal__Content--foo"> ... </div> </iv>
The text was updated successfully, but these errors were encountered:
28dbc63
@cavneb your use case is now supported, with a slight change:
<Modal className="myContentClass" overlayClassName="myOverlayClass"/>
Will result in:
<div class="ReactModal__Overlay myOverlayClass"> <div class="ReactModal__Content myContentClass"> ... </div> </div>
Sorry, something went wrong.
could we support a style prop for inline CSS in JS? I'm talking about:
style
var modalStyles = { left: 80, right: 80 }; return <Modal style={modalStyles} />;
No branches or pull requests
We need to be able to add a class to the overlay portion of the css.. for example:
<Modal className="foo">...</Modal>
should render as:
The text was updated successfully, but these errors were encountered: