test: refactor test:demo script into demo/*/test.sh

This commit is contained in:
Yang Jun
2024-08-29 01:30:25 +08:00
committed by Jun Yang
parent da516a4fd6
commit 62bb20e433
48 changed files with 3018 additions and 23043 deletions
+7
View File
@@ -0,0 +1,7 @@
import React from "react"
interface ContextValue {
count?: () => void
}
export const Context = React.createContext<ContextValue>({})