import { Button } from "@fixture/another-components";
import { Button as MyButton, Link } from "@fixture/my-components";

export function MyPage() {
  return (
    <>
      <Link onClick={console.log} />
      <MyButton onClick={console.log} />
    </>
  );
}

export function createPage() {
  function Link() {
    return null;
  }
  function MyButton() {
    return null;
  }

  return () => (
    <>
      <Link onClick={console.log} />
      <Button onClick={console.log} />
      <MyButton onClick={console.log} />
    </>
  );
}
