[question] Does the react-frame-component support displaying other web pages? #259
-
Hello, may I ask: For example:
It didn't work. |
Beta Was this translation helpful? Give feedback.
Answered by
ryanseddon
Feb 3, 2025
Replies: 1 comment
-
You wouldn't use this component for that use case, you can just render an iframe directly. import React from 'react';
export default function App() {
const url = 'https://www.google.com';
return (
<iframe src={url} />
);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
liaodalin19903
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You wouldn't use this component for that use case, you can just render an iframe directly.