mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Add email prop to loan and consign button
This commit is contained in:
parent
05e3069240
commit
f2555aefcc
@ -8,7 +8,10 @@ import { omitFromObject } from '../../../utils/general_utils';
|
||||
import { getLangText } from '../../../utils/lang_utils';
|
||||
|
||||
let ConsignButton = React.createClass({
|
||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
||||
propTypes: {
|
||||
...omitFromObject(AclButton.propTypes, ['action']),
|
||||
email: React.PropTypes.string
|
||||
},
|
||||
|
||||
render() {
|
||||
return (
|
||||
|
@ -8,7 +8,10 @@ import { omitFromObject } from '../../../utils/general_utils';
|
||||
import { getLangText } from '../../../utils/lang_utils';
|
||||
|
||||
let LoanButton = React.createClass({
|
||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
||||
propTypes: {
|
||||
...omitFromObject(AclButton.propTypes, ['action']),
|
||||
email: React.PropTypes.string
|
||||
},
|
||||
|
||||
render() {
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user