import * as React from 'react' import { Image, Plain, Text, types } from 'react-bricks/rsc' import { avatars } from '../../shared/defaultImages' import blockNames from '../../blockNames' import { textColors } from '../../colors' export interface TestimonialProps { quote: types.TextValue authorName: types.TextValue authorJobTitle: types.TextValue avatarImage: types.IImageSource logoImage: types.IImageSource } const Testimonial3ColsItem: types.Brick = ({ quote, authorName, authorJobTitle, avatarImage, logoImage, }) => { return (
(
{props.children}
)} placeholder="Quote..." renderPlaceholder={(props) => { return {props.children} }} /> {
(
{props.children}
)} placeholder="Name..." /> (
{props.children}
)} placeholder="Job title..." />
) } Testimonial3ColsItem.schema = { name: blockNames.Testimonial3ColsItem, label: 'Single Testimonial', category: 'testimonials', hideFromAddMenu: true, playgroundLinkLabel: 'View source code on Github', playgroundLinkUrl: 'https://github.com/ReactBricks/reactbricks-starters/blob/main/packages/reactbricks-ui/nextjs-app/src/testimonials/Testimonial3Cols/Testimonial3ColsItem.tsx', getDefaultProps: () => ({ quote: "I'm smart enough to know that I'm dumb.", authorName: 'Richard Feynman', authorJobTitle: 'Theoretical physicist', avatarImage: avatars.PLACEHOLDER1, }), } export default Testimonial3ColsItem