import React from 'react' import { types } from 'react-bricks/frontend' import blockNames from '../../blockNames' import Container, { Padding, Size } from '../../shared/components/Container' import Section from '../../shared/components/Section' import { backgroundColorsEditProps, containerSizeEditPropsWithFull, LayoutProps, sectionPaddingsEditProps, } from '../../LayoutSideProps' import { bgColors } from '../../colors' 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-pages/src/separators/HorizontalRule/HorizontalRule.tsx', getDefaultProps: () => ({ backgroundColor: bgColors.WHITE.value, width: 'medium', paddingTop: '16', paddingBottom: '16', }), sideEditProps: [ { groupName: 'Layout', defaultOpen: true, props: [ backgroundColorsEditProps, containerSizeEditPropsWithFull, ...sectionPaddingsEditProps, ], }, ], } export default HorizontalRule