From a2a242a7b57c3d2104ee524674fb65da9f6c722e Mon Sep 17 00:00:00 2001 From: martin-mfg <2026226+martin-mfg@users.noreply.github.com> Date: Tue, 4 Nov 2025 12:24:34 +0100 Subject: [PATCH] add missing file LanguagesLayoutSection.js --- .../components/Home/LanguagesLayoutSection.js | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 frontend/frontend/src/components/Home/LanguagesLayoutSection.js diff --git a/frontend/frontend/src/components/Home/LanguagesLayoutSection.js b/frontend/frontend/src/components/Home/LanguagesLayoutSection.js new file mode 100644 index 00000000..28b40189 --- /dev/null +++ b/frontend/frontend/src/components/Home/LanguagesLayoutSection.js @@ -0,0 +1,40 @@ +import React from 'react'; +import PropTypes from 'prop-types'; + +import Section from './Section'; +import { Input } from '../Generic'; + +export const DEFAULT_OPTION = { + id: 1, + label: 'Normal', + disabled: false, + value: 'normal', +}; + +const LanguagesLayoutSection = ({ selectedOption, setSelectedOption }) => { + const options = [ + DEFAULT_OPTION, + { id: 2, label: 'Compact', disabled: false, value: 'compact' }, + { id: 3, label: 'Donut', disabled: false, value: 'donut' }, + { id: 4, label: 'Vertical Donut', disabled: false, value: 'donut-vertical' }, + { id: 5, label: 'Pie', disabled: false, value: 'pie' }, + ]; + + return ( +
+

Select a card layout.

+ +
+ ); +}; + +LanguagesLayoutSection.propTypes = { + selectedOption: PropTypes.object.isRequired, + setSelectedOption: PropTypes.func.isRequired, +}; + +export default LanguagesLayoutSection;