import React from 'react';
import { withBuilder } from '@builder.io/react';

class CloudinaryImageComponent extends React.Component {
  render() {
    return <img src={this.props.image} />
  }
}

export const CloudinaryImage = withBuilder(CloudinaryImageComponent, {
  inputs: [
    { name: 'image', type: 'cloudinaryImage' }
  ]
}