change button name in list component

This commit is contained in:
cyril lopez 2017-07-24 18:25:40 +02:00
parent 58fa8b9573
commit 6ca1a333e8

View File

@ -19,7 +19,7 @@ import React from 'react';
import { map } from 'lodash';
import { FormattedMessage } from 'react-intl';
import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
import StrapiButton from 'components/Button';
import ButtonPrimaryHotline from 'components/Button';
import PopUpForm from 'components/PopUpForm';
import styles from './styles.scss';
@ -42,7 +42,7 @@ class List extends React.Component { // eslint-disable-line react/prefer-statele
render() {
const button = this.props.noListButtonPopUp ? '' :
<StrapiButton
<ButtonPrimaryHotline
buttonBackground={'secondaryAddType'}
label={this.props.listButtonLabel}
handlei18n={this.props.handlei18n}