@wq/material-web
Version:
Web bindings for @wq/material
22 lines (21 loc) • 531 B
JavaScript
import React from "react";
import { Typography } from "@mui/material";
import PropTypes from "prop-types";
export default function FlatFieldset({ label, children }) {
return /*#__PURE__*/ React.createElement(
React.Fragment,
null,
/*#__PURE__*/ React.createElement(
Typography,
{
color: "textSecondary",
},
label
),
children
);
}
FlatFieldset.propTypes = {
label: PropTypes.string,
children: PropTypes.node,
};