UNPKG

reactotron-core-client

Version:

Grants Reactotron clients the ability to talk to a Reactotron server.

15 lines (12 loc) 308 B
import type { ReactotronCore, Plugin } from "../reactotron-core-client" /** * Clears the reactotron server. */ const clear = () => (reactotron: ReactotronCore) => { return { features: { clear: () => reactotron.send("clear"), }, } satisfies Plugin<ReactotronCore> } export default clear