import { DatePicker, FilterInput, Heading, RangeSlider, Rating, ResponsiveGrid, Section, Separator, Spacer, Switch, Text, } from '@/components/atoms' type FormControlsSectionContent = (typeof import('@/data/atomic-library-showcase.json'))['sections']['formControls'] interface FormControlsSectionProps { content: FormControlsSectionContent switchChecked: boolean onSwitchChange: (value: boolean) => void selectedDate: Date | undefined onDateChange: (value: Date | undefined) => void filterValue: string onFilterChange: (value: string) => void rating: number onRatingChange: (value: number) => void rangeValue: [number, number] onRangeChange: (value: [number, number]) => void } export function FormControlsSection({ content, switchChecked, onSwitchChange, selectedDate, onDateChange, filterValue, onFilterChange, rating, onRatingChange, rangeValue, onRangeChange, }: FormControlsSectionProps) { return (
{content.title}
{content.switchLabel}
{content.datePickerLabel}
{content.filterInputLabel}
{content.ratingLabel}
{content.rangeSliderLabel}
) }