Convert component to JSX