Home > AI > Frontend > MaterialUI > @material-ui/core >

Button

Example:

import React from 'react';
import ReactDOM from 'react-dom';
import Button from '@material-ui/core/Button';

function App() {
  return (
    <Button variant="contained" color="primary">
      Hello World
    </Button>
  );
}

ReactDOM.render(<App />, document.querySelector('#app'));
Related posts:
    No posts found.

Leave a Reply