mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-29 09:40:10 +02:00
new file template n add file support
This commit is contained in:
@@ -7,6 +7,7 @@ export function CreateNewModal({
|
||||
show,
|
||||
closeHandler,
|
||||
onBlankTemplateSelect,
|
||||
onBlankFileTemplateSelect,
|
||||
onTemplateSelect
|
||||
}) {
|
||||
return (
|
||||
@@ -15,6 +16,9 @@ export function CreateNewModal({
|
||||
<button className="btn" onClick={onBlankTemplateSelect}>
|
||||
Start a blank creation
|
||||
</button>
|
||||
<button className="btn" onClick={onBlankFileTemplateSelect}>
|
||||
Start a blank files creation
|
||||
</button>
|
||||
</div>
|
||||
<hr />
|
||||
Or choose from a template:
|
||||
|
Reference in New Issue
Block a user