AdminInstallButtonRow.tsx 475 B

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