button label fix

This commit is contained in:
lingdocs 2022-02-10 03:15:20 +04:00
parent 02adb50ac5
commit 05971861f6
3 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,9 @@ Easily create EPUB e-book files with proper RTL support
## Running Locally
Requires
### With Node
requires:
- Node.js 12.22.0 or later
- [pandoc](https://pandoc.org/installing.html)

View File

@ -98,7 +98,7 @@ function BookInfoInput({ handleSubmit }: { handleSubmit: (info: { frontmatter: F
// @ts-ignore
options={availableFieldsOptions}
/>
<button onClick={submit} type="button" className="btn btn-primary my-4">Submit</button>
<button onClick={submit} type="button" className="btn btn-primary my-4">Create .epub</button>
</div>
}

View File

@ -48,7 +48,7 @@ const Home: NextPage = () => {
<textarea spellCheck="false" dir="rtl" ref={mdRef} className="form-control" id="mdTextarea" rows={15} />
</div>
<div style={{ textAlign: "right" }}>
<button type="button" className="btn btn-sm btn-light mt-2" onClick={clearText}>Create .epub</button>
<button type="button" className="btn btn-sm btn-light mt-2" onClick={clearText}>Clear</button>
</div>
<BookInfoInput handleSubmit={handleSubmit} />
<div className="text-center mt-4 text-muted">