mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00

- Refactor `InstallButton` and relocate it to `install/`. - Update `Toolbar` imports to reflect the new `InstallButton` structure. - Introduce `handleInstall` functionality for PWA installation prompt handling.
8 lines
176 B
TypeScript
8 lines
176 B
TypeScript
import React, { useEffect, useState } from 'react';
|
|
|
|
function InstallButton() {
|
|
return <button onClick={handleInstall}>Install App</button>;
|
|
}
|
|
|
|
export default InstallButton;
|