23 lines
429 B
JavaScript
23 lines
429 B
JavaScript
function Instruction() {
|
|
return (
|
|
<iframe
|
|
src={`${import.meta.env.VITE_PUBLIC_URL}/instruction.pdf`}
|
|
style={{ width: "100%", height: "100vh" }}
|
|
></iframe>
|
|
);
|
|
}
|
|
|
|
export default Instruction;
|
|
|
|
/*
|
|
<object
|
|
type="application/pdf"
|
|
src={link}
|
|
style={{ width: "100%", height: "100vh" }}
|
|
>
|
|
<p>
|
|
PDF cannot be displayed. <a href={link}>Download PDF</a>
|
|
</p>
|
|
</object>
|
|
*/
|