focus-components-v3
Version:
Focus web components to build applications (based on Material Design)
21 lines (17 loc) • 436 B
JavaScript
import React, {PropTypes} from 'react';
import Button from '../button';
function ButtonBack({back}) {
return (
<Button
handleOnClick={back}
icon='keyboard_backspace'
label='focus.components.button.back'
shape={null}
type='button'
/>
);
}
ButtonBack.propTypes = {
back: PropTypes.func.isRequired
};
export default ButtonBack;