11
packages/js/src/demo/App.tsx
Normal file
11
packages/js/src/demo/App.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Bot } from '@/components/Bot'
|
||||
import type { Component } from 'solid-js'
|
||||
|
||||
export const App: Component = () => {
|
||||
return (
|
||||
<Bot
|
||||
typebotId="clbm11cku000t3b6o01ug8awh"
|
||||
apiHost="http://localhost:3001"
|
||||
/>
|
||||
)
|
||||
}
|
||||
5
packages/js/src/demo/index.tsx
Normal file
5
packages/js/src/demo/index.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { render } from 'solid-js/web'
|
||||
import { App } from './App'
|
||||
import '../assets/index.css'
|
||||
|
||||
render(() => <App />, document.getElementById('root') as HTMLElement)
|
||||
Reference in New Issue
Block a user