import classNames from 'classnames' import * as React from 'react' import { Image, Link, types } from 'react-bricks/rsc' import { iconLogos } from '../../shared/defaultImages' import blockNames from '../../blockNames' export interface SmallLogoGridItemProps { link: string targetBlank: boolean image: types.IImageSource } interface ContentProps { image: types.IImageSource } const Content: React.FC = ({ image }) => (
customer
) const SmallLogoGridItem: types.Brick = ({ link, targetBlank, image, }) => { return ( ) } SmallLogoGridItem.schema = { name: blockNames.SmallLogoGridItem, label: 'Logo', category: 'logos', hideFromAddMenu: true, playgroundLinkLabel: 'View source code on Github', playgroundLinkUrl: 'https://github.com/ReactBricks/reactbricks-starters/blob/main/packages/reactbricks-ui/nextjs-app/src/logos/SmallLogoGrid/SmallLogoGridItem.tsx', getDefaultProps: () => ({ image: iconLogos.REACT_BRICKS, link: 'https://reactbricks.com', }), sideEditProps: [ { name: 'link', label: 'Link (external or path)', type: types.SideEditPropType.Text, }, ], } export default SmallLogoGridItem