1
0
mirror of https://github.com/ascribe/onion.git synced 2024-07-01 06:02:12 +02:00
onion/js/components/ascribe_buttons/acls/unconsign_button.js
2015-11-02 18:44:09 +01:00

25 lines
629 B
JavaScript

'use strict';
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
{...this.props}
action='acl_unconsign'
title={getLangText('Unconsign artwork')}
tooltip={getLangText('Have the owner manage his sales again')} />
);
}
});
export default UnconsignButton;