mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Add propTypes to acl buttons
This commit is contained in:
parent
e890cf5bb1
commit
05e3069240
@ -4,9 +4,12 @@ import React from 'react';
|
||||
|
||||
import AclButton from './acl_button';
|
||||
|
||||
import { omitFromObject } from '../../../utils/general_utils';
|
||||
import { getLangText } from '../../../utils/lang_utils';
|
||||
|
||||
let ConsignButton = React.createClass({
|
||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
||||
|
||||
render() {
|
||||
return (
|
||||
<AclButton
|
||||
|
@ -4,9 +4,12 @@ import React from 'react';
|
||||
|
||||
import AclButton from './acl_button';
|
||||
|
||||
import { omitFromObject } from '../../../utils/general_utils';
|
||||
import { getLangText } from '../../../utils/lang_utils';
|
||||
|
||||
let LoanButton = React.createClass({
|
||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
||||
|
||||
render() {
|
||||
return (
|
||||
<AclButton
|
||||
|
@ -4,9 +4,12 @@ import React from 'react';
|
||||
|
||||
import AclButton from './acl_button';
|
||||
|
||||
import { omitFromObject } from '../../../utils/general_utils';
|
||||
import { getLangText } from '../../../utils/lang_utils';
|
||||
|
||||
let LoanButton = React.createClass({
|
||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
||||
|
||||
render() {
|
||||
return (
|
||||
<AclButton
|
||||
|
@ -4,9 +4,12 @@ import React from 'react';
|
||||
|
||||
import AclButton from './acl_button';
|
||||
|
||||
import { omitFromObject } from '../../../utils/general_utils';
|
||||
import { getLangText } from '../../../utils/lang_utils';
|
||||
|
||||
let ShareButton = React.createClass({
|
||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
||||
|
||||
render() {
|
||||
return (
|
||||
<AclButton
|
||||
|
@ -4,9 +4,12 @@ import React from 'react';
|
||||
|
||||
import AclButton from './acl_button';
|
||||
|
||||
import { omitFromObject } from '../../../utils/general_utils';
|
||||
import { getLangText } from '../../../utils/lang_utils';
|
||||
|
||||
let TransferButton = React.createClass({
|
||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
||||
|
||||
render() {
|
||||
return (
|
||||
<AclButton
|
||||
|
@ -4,9 +4,12 @@ import React from 'react';
|
||||
|
||||
import AclButton from './acl_button';
|
||||
|
||||
import { omitFromObject } from '../../../utils/general_utils';
|
||||
import { getLangText } from '../../../utils/lang_utils';
|
||||
|
||||
let UnconsignButton = React.createClass({
|
||||
propTypes: omitFromObject(AclButton.propTypes, ['action']),
|
||||
|
||||
render() {
|
||||
return (
|
||||
<AclButton
|
||||
|
Loading…
Reference in New Issue
Block a user