parent
e7543930e6
commit
9dcc27a7d4
@ -1 +1,2 @@ |
|||||||
export * from './lib/remix-ui-terminal' |
export * from './lib/remix-ui-terminal' |
||||||
|
export * from './lib/remix-ui-terminal-wrapper' |
@ -0,0 +1,7 @@ |
|||||||
|
import React, { useState, useEffect, useReducer, useRef} from 'react' // eslint-disable-line
|
||||||
|
import { initialState, registerCommandReducer } from './reducers/terminalReducer' |
||||||
|
|
||||||
|
export const RemixUITerminalWrapper = () => { |
||||||
|
const [newstate, dispatch] = useReducer(registerCommandReducer, initialState) |
||||||
|
return (<>terminal</>) |
||||||
|
} |
Loading…
Reference in new issue