@rhds/elements
Version:
Red Hat Design System Elements
13 lines (12 loc) • 345 B
JavaScript
// rh-table/rh-sort-button.js
import { createComponent } from '@lit/react';
import react from 'react';
import { RhSortButton } from '@rhds/elements/rh-table/rh-sort-button.js';
export const SortButton = createComponent({
tagName: 'rh-sort-button',
elementClass: RhSortButton,
react,
events: {
onRequestSort: 'request-sort',
},
});