UNPKG

@swc-react/switch

Version:

React and Next.js wrapper of the @spectrum-web-components/switch component

3 lines (2 loc) 341 B
"use strict";import*as t from"react";import{createComponent as e}from"@lit/react";import{Switch as a}from"@spectrum-web-components/switch";import"@spectrum-web-components/switch/sp-switch.js";export const Switch=e({displayName:"Switch",elementClass:a,react:t,tagName:"sp-switch",events:{change:"change"}}); //# sourceMappingURL=index.js.map