chore: add social media toggle to track or not social sites

This commit is contained in:
Sebastian Velez
2023-02-03 15:01:44 -05:00
parent b6a10665d7
commit 40635cfada
6 changed files with 122 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ type Props = {
helpText: string;
label: string;
placeholder?: string;
rows?: number;
sites: string;
};
@@ -12,6 +13,7 @@ export default function SitesList({
handleChange,
label,
placeholder,
rows,
sites,
helpText,
}: Props): JSX.Element {
@@ -28,7 +30,7 @@ export default function SitesList({
<div className="col-lg-10">
<textarea
className="form-control"
rows={3}
rows={rows ?? 3}
onChange={textareaChange}
placeholder={placeholder ?? 'http://google.com'}
value={sites}