import FormWrapper from '../FormWrapper' import React from 'react' import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' import '@uiw/react-md-editor/markdown-editor.css' import '@uiw/react-markdown-preview/markdown.css' import dynamic from 'next/dynamic' const MDEditor = dynamic(() => import('@uiw/react-md-editor').then((mod) => mod.default), { ssr: false }) export const ProposalStep = ({ proposalText, updateProposal, proposalTitle, updateProposalTitle, }: { proposalText: string updateProposal: (proposal: string) => void proposalTitle: string updateProposalTitle: (proposal: string) => void }) => { return (
{/* */}

Title of the proposal

updateProposalTitle(e.target.value)} />
{/* smaller description */}

Proposal description can be written as plain text or formatted with Markdown

updateProposal(value || '')} />
{/*
*/} {/* Continue for other function arguments, values, etc. */}
) } export default ProposalStep