mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +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';
|
import { getLangText } from '../../../utils/lang_utils';
|
||||||
|
|
||||||
let ConsignButton = React.createClass({
|
let ConsignButton = React.createClass({
|
||||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
propTypes: {
|
||||||
|
...omitFromObject(AclButton.propTypes, ['action']),
|
||||||
|
email: React.PropTypes.string
|
||||||
|
},
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
|
@ -8,7 +8,10 @@ import { omitFromObject } from '../../../utils/general_utils';
|
|||||||
import { getLangText } from '../../../utils/lang_utils';
|
import { getLangText } from '../../../utils/lang_utils';
|
||||||
|
|
||||||
let LoanButton = React.createClass({
|
let LoanButton = React.createClass({
|
||||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
propTypes: {
|
||||||
|
...omitFromObject(AclButton.propTypes, ['action']),
|
||||||
|
email: React.PropTypes.string
|
||||||
|
},
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user