mirror of
https://github.com/react95-io/React95.git
synced 2026-04-26 03:00:18 -04:00
22 lines
454 B
JavaScript
22 lines
454 B
JavaScript
import React from "react";
|
|
import propTypes from "prop-types";
|
|
|
|
import { StyledMaterial } from "../common";
|
|
|
|
const Material = ({ hollow, className, children, style, ...otherProps }) => {
|
|
return <StyledMaterial>{children}</StyledMaterial>;
|
|
};
|
|
|
|
Material.defaultProps = {
|
|
hollow: false
|
|
};
|
|
|
|
Material.propTypes = {
|
|
hollow: propTypes.bool,
|
|
children: propTypes.node,
|
|
className: propTypes.string,
|
|
style: propTypes.object
|
|
};
|
|
|
|
export default Material;
|