mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
change button name in list component
This commit is contained in:
parent
58fa8b9573
commit
6ca1a333e8
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user