16 lines
365 B
TypeScript
16 lines
365 B
TypeScript
import React, { useState } from 'react';
|
|
import { doVnTest } from '../api';
|
|
|
|
export const VNSceneEditor = () => {
|
|
const [ test, setTest ] = useState('');
|
|
|
|
return (
|
|
<div>
|
|
VN Scene Editor
|
|
|
|
<button onClick={() => {
|
|
doVnTest('bruh1', 'bruh2').then(e => console.log(e)).catch(e => console.error(e));
|
|
}}>Clicky</button>
|
|
</div>
|
|
);
|
|
} |