react-ladda
react-ladda copied to clipboard
Act as a Submit button , not preventing default behaviour
<LaddaButton
loading={this.props.loading}
onClick={this.handleClick}
data-color="#eee"
data-size={XL}
data-style={SLIDE_UP}
data-spinner-size={30}
data-spinner-color="#ddd"
data-spinner-lines={12}
>
in side Constructor
this.handleClick = this.handleClick.bind(this);
handleClick() {
this.props.loadData(this.state.urlDate);
}
handleClick(e) {
e.preventDefault();
this.props.loadData(this.state.urlDate);
}
?