1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 13:41:57 +02:00
onion/js/components/ascribe_buttons/acls/transfer_button.js

25 lines
625 B
JavaScript
Raw Normal View History

'use strict';
import React from 'react';
import AclButton from './acl_button';
2015-11-02 18:44:09 +01:00
import { omitFromObject } from '../../../utils/general_utils';
import { getLangText } from '../../../utils/lang_utils';
let TransferButton = React.createClass({
2015-11-02 18:44:09 +01:00
propTypes: omitFromObject(AclButton.propTypes, ['action']),
render() {
return (
<AclButton
{...this.props}
action='acl_transfer'
title={getLangText('Transfer artwork')}
tooltip={getLangText('Transfer the ownership of the artwork')} />
);
}
});
export default TransferButton;