added markdown, organized templates, fixed email overflow issue in pikachu

This commit is contained in:
Amruth Pillai
2020-03-26 23:27:04 +05:30
parent 178d12fae9
commit 333e94cb32
12 changed files with 733 additions and 320 deletions

View File

@ -1,4 +1,5 @@
import React from 'react';
import MarkdownHelpText from './MarkdownHelpText';
const TextArea = ({ label, placeholder, value, onChange, className, rows = 5 }) => (
<div className={`w-full flex flex-col ${className}`}>
@ -12,6 +13,8 @@ const TextArea = ({ label, placeholder, value, onChange, className, rows = 5 })
onChange={e => onChange(e.target.value)}
placeholder={placeholder}
/>
<MarkdownHelpText className="mt-2" />
</div>
);