diff --git a/frontend/src/library/heading.tsx b/frontend/src/library/heading.tsx index 510cf54..7878f12 100644 --- a/frontend/src/library/heading.tsx +++ b/frontend/src/library/heading.tsx @@ -1,13 +1,33 @@ +import React from 'react'; + type InputProps = { - name?: string; + text: string; + fontSize?: string; + fontWeight?: string; + fontStyle?: string; + textColor?: string; + textAlign?: string; + className?: string; }; -const heading = ({ name }: InputProps) => { +const Heading: React.FC = ({ + text, + fontSize = 'text-sm', // default value + fontWeight = 'font-normal', // default value + fontStyle = 'font-sans', // default value + textColor = 'text-black', // default value + textAlign = 'text-center', // default value + className = '', // additional custom classes +}) => { return (
-

{name}

+

+ {text} +

); }; -export default heading; +export default Heading; diff --git a/frontend/src/pages/PlayOptions.tsx b/frontend/src/pages/PlayOptions.tsx index df10c29..ef531b1 100644 --- a/frontend/src/pages/PlayOptions.tsx +++ b/frontend/src/pages/PlayOptions.tsx @@ -27,20 +27,36 @@ const PlayOptions = () => { alt="UNO Logo" className="h-12 w-auto mr-2" /> -

- Ready for Action? -

+
-
+
- +
-
+
- +