9 lines
280 B
JavaScript
9 lines
280 B
JavaScript
import React from 'react';
|
|
|
|
const PreviousButton = ({ hasPrevious, onClick, style, className, text }) => hasPrevious ? (
|
|
// <button type="button" onClick={onClick} style={style} className={className}>Précédent</button>
|
|
<div></div>
|
|
) :
|
|
null;
|
|
|
|
export default PreviousButton; |