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
i try set a popup with 2 fields, i am try as a component but it just show the labels, and doesn't show the fields
class App extends Component { constructor(props) { super(props); this.state = { show: false, }; } render() { return ( <div className="App"> <SweetAlert show='true' title="Demo" html text={renderToStaticMarkup(<HelloWorld />)} onConfirm={() => this.setState({ show: false })} /> </div> ); } }
and it is my component HelloWorld,
import React from 'react'; const HelloWorld = () => <div> <div class="form-group"> <label for="exampleInputEmail1">Email address</label> <input type="email" class="form-control" id="exampleInputEmail1" aria- describedby="emailHelp" placeholder="Enter email" /> </div> <div class="form-group"> <label for="exampleInputPassword1">Password</label> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password" /> </div> </div>
export default HelloWorld;
The text was updated successfully, but these errors were encountered:
@mealbarracin10 Any solution related to this ?
Sorry, something went wrong.
No branches or pull requests
i try set a popup with 2 fields, i am try as a component but it just show the labels, and doesn't show the fields
and it is my component HelloWorld,
export default HelloWorld;
The text was updated successfully, but these errors were encountered: