@shoelace-style/react
Version:
Shoelace web components wrapped up for React.
9 lines (8 loc) • 324 B
JavaScript
import * as React from 'react';
import { createComponent } from '@lit-labs/react';
import Component from '@shoelace-style/shoelace/dist/components/animation/animation';
export default createComponent(React, 'sl-animation', Component, {
onSlCancel: 'sl-cancel',
onSlFinish: 'sl-finish',
onSlStart: 'sl-start'
});