UNPKG

stitch-ui

Version:

24 lines (20 loc) 543 B
import React from "react"; // eslint-disable-line no-unused-vars import PropTypes from "prop-types"; import AllowedRequestOrigins from "./AllowedRequestOrigins"; function OtherSettings(props) { const { app } = props; return ( <table className="plain-table"> <tbody> <AllowedRequestOrigins app={app} /> </tbody> </table> ); } OtherSettings.propTypes = { app: PropTypes.shape({ _id: PropTypes.string.isRequired, groupId: PropTypes.string.isRequired }).isRequired }; export default OtherSettings;