UNPKG

keystone

Version:

Web Application Framework and Admin GUI / Content Management System built on Express.js and Mongoose

16 lines (13 loc) 316 B
import { PropTypes } from 'react'; import makeSection from './makeSection'; const itemsShape = PropTypes.arrayOf(PropTypes.shape({ section: PropTypes.string, items: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string, slug: PropTypes.string, })), })); export default { itemsShape, makeSection, };