React JS Utwórz element

const element = React.createElement(
  'h1',
  {className: 'greeting'},
  'Hello, world!'
);
Anthony Smith