import React from 'react';
import { makeStyles } from '@material-ui/core';
import PropTypes from 'prop-types';
const useStyles = makeStyles((theme) => ({
    root: props => ({
        width: theme.spacing(0.5),
        height: "100%",
        background: theme.palette[props.color].main
    })
}));
export const Adornment = (props) => {
    const classes = useStyles(props);
    return React.createElement("div", { className: classes.root });
};
Adornment.propTypes = {
    color: PropTypes.string
};
//# sourceMappingURL=Adornment.js.map