shift-admin-ui-kit
Version:
UI Kit for Shift Commerce Projects
18 lines (15 loc) • 339 B
JavaScript
import React, { Component } from "react"
export default class SubmitButton extends Component {
render() {
const label = this.props.label || "Submit"
let {
className,
...otherProps
} = this.props
return (
<button className={ className } { ...otherProps }>
{ label }
</button>
)
}
}