rewrite Wrapper in jsx