AdminInstallButtonRow.tsx 491 B

123456789101112131415161718192021
  1. import React from 'react';
  2. import { useTranslation } from 'next-i18next';
  3. type Props = {
  4. onClick: () => void,
  5. disabled: boolean,
  6. }
  7. export const AdminInstallButtonRow = (props: Props): JSX.Element => {
  8. // TODO: const { t } = useTranslation('admin');
  9. return (
  10. <div className="row my-3">
  11. <div className="mx-auto">
  12. <button type="button" className="btn btn-primary" onClick={props.onClick} disabled={props.disabled}>Install</button>
  13. </div>
  14. </div>
  15. );
  16. };