Skip to content

[question] Does the react-frame-component support displaying other web pages? #259

Closed Answered by ryanseddon
liaodalin19903 asked this question in Q&A
Discussion options

You must be logged in to vote

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} />
  );
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by liaodalin19903
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants