import { types } from 'react-bricks/rsc' import blockNames from '../../blockNames' import { bgColors } from '../../colors' import { backgroundColorsEditProps, containerSizeEditProps, LayoutProps, sectionPaddingsEditProps, } from '../../LayoutSideProps' import Container from '../../shared/components/Container' import Section from '../../shared/components/Section' interface HorizontalRuleProps extends LayoutProps {} const HorizontalRule: types.Brick = ({ backgroundColor, width, paddingTop, paddingBottom, }) => { return (

) } HorizontalRule.schema = { name: blockNames.HorizontalRule, label: 'Horizontal Rule', category: 'separator', previewImageUrl: `/bricks-preview-images/${blockNames.HorizontalRule}.png`, playgroundLinkLabel: 'View source code on Github', playgroundLinkUrl: 'https://github.com/ReactBricks/reactbricks-starters/blob/main/packages/reactbricks-ui/nextjs-app/src/separators//HorizontalRule/HorizontalRule.tsx', getDefaultProps: () => ({ backgroundColor: bgColors.WHITE.value, width: 'medium', paddingTop: '16', paddingBottom: '16', }), sideEditProps: [ { groupName: 'Layout', defaultOpen: true, props: [ backgroundColorsEditProps, containerSizeEditProps, ...sectionPaddingsEditProps, ], }, ], } export default HorizontalRule