import React, { FunctionComponent } from 'react'; import globalize from '../../../scripts/globalize'; const createSelectElement = ({ className, label, option }: { className?: string, label: string, option: string }) => ({ __html: `` }); type RatingsArr = { Name: string; Value: number; } type IProps = { className?: string; label?: string; parentalRatings: RatingsArr[]; } const SelectMaxParentalRating: FunctionComponent = ({ className, label, parentalRatings }: IProps) => { const renderOption = () => { let content = ''; for (const rating of parentalRatings) { content += ``; } return content; }; return (
); }; export default SelectMaxParentalRating;