button label fix
This commit is contained in:
parent
02adb50ac5
commit
05971861f6
|
@ -4,7 +4,9 @@ Easily create EPUB e-book files with proper RTL support
|
||||||
|
|
||||||
## Running Locally
|
## Running Locally
|
||||||
|
|
||||||
Requires
|
### With Node
|
||||||
|
|
||||||
|
requires:
|
||||||
|
|
||||||
- Node.js 12.22.0 or later
|
- Node.js 12.22.0 or later
|
||||||
- [pandoc](https://pandoc.org/installing.html)
|
- [pandoc](https://pandoc.org/installing.html)
|
||||||
|
|
|
@ -98,7 +98,7 @@ function BookInfoInput({ handleSubmit }: { handleSubmit: (info: { frontmatter: F
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
options={availableFieldsOptions}
|
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>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ const Home: NextPage = () => {
|
||||||
<textarea spellCheck="false" dir="rtl" ref={mdRef} className="form-control" id="mdTextarea" rows={15} />
|
<textarea spellCheck="false" dir="rtl" ref={mdRef} className="form-control" id="mdTextarea" rows={15} />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ textAlign: "right" }}>
|
<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>
|
</div>
|
||||||
<BookInfoInput handleSubmit={handleSubmit} />
|
<BookInfoInput handleSubmit={handleSubmit} />
|
||||||
<div className="text-center mt-4 text-muted">
|
<div className="text-center mt-4 text-muted">
|
||||||
|
|
Loading…
Reference in New Issue