import { ComponentConfig } from '@puckeditor/core';
import TrendingMarketsSection, {
  TrendingMarketsProps,
} from '../sections/trending-markets-section';

export const TrendingMarketsBlock: ComponentConfig<TrendingMarketsProps> = {
  label: 'Trending Markets',
  fields: {
    title: { type: 'text', label: 'Title' },
  },
  defaultProps: {
    title: 'Trending Markets',
  },
  render: TrendingMarketsSection,
};
