import React, {FC} from "react"; import {FeaturedPresetProps, Preset} from "./FeaturedPreset"; import {PresetsGrid} from "./PresetsGrid"; export type PresetSection = { type: 'sectioned', sections: { title: string, presets: Preset[] }[] } export type PresetSectionsProps = { sectioned: PresetSection } export const PresetSections: FC = ({sectioned: {sections}}) => { return
{sections.map((section, index) => (

{section.title}

))}
}