UNPKG
@playcanvas/blocks
Version:
latest (0.3.7)
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
High level abstract 3D primitives for React
playcanvas-react.vercel.app/blocks
playcanvas/react
@playcanvas/blocks
/
dist
/
components
/
ui
/
switch.d.ts
5 lines
(4 loc)
•
252 B
TypeScript
View Raw
1
2
3
4
5
import
*
as
React
from
"react"
;
import
*
as
SwitchPrimitive
from
"@radix-ui/react-switch"
; declare
function
Switch
(
{ className, ...props }: React.ComponentProps<
typeof
SwitchPrimitive.Root>
):
import
(
"react/jsx-runtime"
).
JSX
.
Element
;
export
{
Switch
};