React plaid link
npm install react-plaidopen prop to open.This plaid component depends on a global Plaid existing (from plaid-link script tag on the page). This may change in the future.
Be sure to handle changing open back to false with the onExit function otherwise you will not be able to re-open.
This requires you have on the page before your React executes.
render() {
this.setState({open: false})}>
Other things here.
}
`or
`
render() {
Other DOM elements here.
this.setState({open: false})} />
}
`
$3
``class MyPlaidStuff extends Component {
constructor(props, context) {
super(props, context);
this.state = {
open: false,
plaidData: [],
}
}
render() {