diff --git a/components/dashboard/package.json b/components/dashboard/package.json index 4c21c5ad9e6658..9f3aed9cd2778e 100644 --- a/components/dashboard/package.json +++ b/components/dashboard/package.json @@ -53,6 +53,7 @@ "react-focus-on": "^3.8.1", "react-intl-tel-input": "^8.2.0", "react-linkedin-login-oauth2": "^2.0.1", + "react-markdown": "^9.0.3", "react-popper": "^2.3.0", "react-portal": "^4.2.2", "react-router-dom": "^5.2.0", diff --git a/components/dashboard/src/components/forms/InputField.tsx b/components/dashboard/src/components/forms/InputField.tsx index 7df8ffa326fbca..b1d2a0e4277ef9 100644 --- a/components/dashboard/src/components/forms/InputField.tsx +++ b/components/dashboard/src/components/forms/InputField.tsx @@ -16,16 +16,18 @@ type Props = { topMargin?: boolean; className?: string; disabled?: boolean; + labelHidden?: boolean; }; export const InputField: FunctionComponent = memo( - ({ label, id, hint, error, topMargin = true, className, children, disabled = false }) => { + ({ label, id, hint, error, topMargin = true, className, children, disabled = false, labelHidden = false }) => { return (
{label && (