| 1234567891011121314151617181920212223 |
- import React from 'react';
- import { useTranslation } from 'react-i18next';
- type Props = {
- onClick: () => void,
- disabled: boolean,
- }
- const AdminUpdateButtonRow = (props: Props): JSX.Element => {
- const { t } = useTranslation();
- return (
- <div className="row my-3">
- <div className="mx-auto">
- <button type="button" className="btn btn-primary" onClick={props.onClick} disabled={props.disabled}>{ t('Update') }</button>
- </div>
- </div>
- );
- };
- export default AdminUpdateButtonRow;
|