import React from "react";
import { render } from "react-dom";
import { ReactComponent } from "./ReactComponent";
render(
<ReactComponent name="nakanishi" music="jazz" />,
document.getElementById("root")
);
import React from "react";
export const ReactComponent = ({ name, music }) => (
<div>
{name} {music}
</div>
);