diff --git a/package-lock.json b/package-lock.json index 1fe687eb..1203c88e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "utopia-ui", - "version": "3.0.26", + "version": "3.0.30", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "utopia-ui", - "version": "3.0.26", + "version": "3.0.30", "license": "GPL-3.0-only", "dependencies": { "@heroicons/react": "^2.0.17", diff --git a/package.json b/package.json index 57b0144d..dfafb75e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "utopia-ui", - "version": "3.0.26", + "version": "3.0.30", "description": "Reuseable React Components to build mapping apps for real life communities and networks", "repository": "https://github.com/utopia-os/utopia-ui", "homepage:": "https://utopia-os.org/", diff --git a/src/Components/Profile/Subcomponents/MarkdownHint.tsx b/src/Components/Profile/Subcomponents/MarkdownHint.tsx new file mode 100644 index 00000000..1b79bbc3 --- /dev/null +++ b/src/Components/Profile/Subcomponents/MarkdownHint.tsx @@ -0,0 +1,34 @@ +import { useState } from 'react' + +export const MarkdownHint = () => { + const [expended, setExpended] = useState(false) + return ( +
setExpended(true)} + title='Markdown is supported' + className='flex tw-flex-row tw-text-gray-400 tw-cursor-pointer tw-items-center' + > + + {expended && ( + + Markdown is support{' '} + + )} +
+ ) +} diff --git a/src/Components/Profile/Subcomponents/ProfileTextForm.tsx b/src/Components/Profile/Subcomponents/ProfileTextForm.tsx index ccac9c44..364008f6 100644 --- a/src/Components/Profile/Subcomponents/ProfileTextForm.tsx +++ b/src/Components/Profile/Subcomponents/ProfileTextForm.tsx @@ -8,6 +8,8 @@ import { TextAreaInput } from '#components/Input' import { FormState } from '#src/types' import { getValue } from '#utils/GetValue' +import { MarkdownHint } from './MarkdownHint' + export const ProfileTextForm = ({ state, setState, @@ -33,12 +35,15 @@ export const ProfileTextForm = ({ return (
- +
+ + +