import { Repeater, Text, types } from 'react-bricks/rsc' import blockNames from '../blockNames' import { textColors } from '../colors' interface FooterColumnProps { title: types.TextValue links: types.RepeaterItems } const FooterColumn: types.Brick = ({ title, links }) => { return (
(
{children}
)} />
) } FooterColumn.schema = { name: blockNames.FooterColumn, label: 'Column', category: 'layout', hideFromAddMenu: true, playgroundLinkLabel: 'View source code on Github', playgroundLinkUrl: 'https://github.com/ReactBricks/reactbricks-starters/blob/main/packages/reactbricks-ui/nextjs-app/src/layout/FooterColumn.tsx', // tags: [], repeaterItems: [ { name: 'links', itemType: blockNames.FooterLink, }, ], // Defaults when a new brick is added getDefaultProps: () => ({ title: 'Features', links: [], }), // Sidebar Edit controls for props sideEditProps: [], } export default FooterColumn