initial redux work
This commit is contained in:
13
src/components/settings/option.tsx
Normal file
13
src/components/settings/option.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
export default function SettingsOption(props: {
|
||||
focused?: boolean;
|
||||
heading?: string;
|
||||
children?: any;
|
||||
span?: number;
|
||||
}) {
|
||||
return (
|
||||
<section className={props.focused ? 'focused' : ''}>
|
||||
{props.heading && <h3>{props.heading}</h3>}
|
||||
{props.children}
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user