import React from "react"; // react plugin for creating date-time-picker import Datetime from "react-datetime"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import Slide from "@material-ui/core/Slide"; import IconButton from "@material-ui/core/IconButton"; import Dialog from "@material-ui/core/Dialog"; import DialogTitle from "@material-ui/core/DialogTitle"; import DialogContent from "@material-ui/core/DialogContent"; import DialogActions from "@material-ui/core/DialogActions"; import InputLabel from "@material-ui/core/InputLabel"; import FormControl from "@material-ui/core/FormControl"; import Tooltip from "@material-ui/core/Tooltip"; import Popover from "@material-ui/core/Popover"; // @material-ui/icons import LibraryBooks from "@material-ui/icons/LibraryBooks"; import Close from "@material-ui/icons/Close"; // core components import GridContainer from "components/Grid/GridContainer.js"; import GridItem from "components/Grid/GridItem.js"; import Button from "components/CustomButtons/Button.js"; import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/javascriptStyles.js"; const useStyles = makeStyles(styles); const Transition = React.forwardRef(function Transition(props, ref) { return ; }); Transition.displayName = "Transition"; export default function SectionJavascript() { const classes = useStyles(); const [anchorElLeft, setAnchorElLeft] = React.useState(null); const [anchorElTop, setAnchorElTop] = React.useState(null); const [anchorElBottom, setAnchorElBottom] = React.useState(null); const [anchorElRight, setAnchorElRight] = React.useState(null); const [classicModal, setClassicModal] = React.useState(false); return (

Javascript components

Modal

setClassicModal(false)} aria-labelledby="classic-modal-slide-title" aria-describedby="classic-modal-slide-description" > setClassicModal(false)} >

Modal title

Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.

Datetime Picker

Datetime Picker

Popovers

setAnchorElLeft(null)} anchorOrigin={{ vertical: "center", horizontal: "left" }} transformOrigin={{ vertical: "center", horizontal: "right" }} >

Popover on left

Here will be some very useful information about his popover. Here will be some very useful information about his popover.
setAnchorElTop(null)} anchorOrigin={{ vertical: "top", horizontal: "center" }} transformOrigin={{ vertical: "bottom", horizontal: "center" }} >

Popover on top

Here will be some very useful information about his popover.
setAnchorElBottom(null)} anchorOrigin={{ vertical: "bottom", horizontal: "center" }} transformOrigin={{ vertical: "top", horizontal: "center" }} >

Popover on bottom

Here will be some very useful information about his popover.
setAnchorElRight(null)} anchorOrigin={{ vertical: "center", horizontal: "right" }} transformOrigin={{ vertical: "center", horizontal: "left" }} >

Popover on right

Here will be some very useful information about his popover.


Tooltips

Carousel

); }