dap-design-system
Version:
Official design system for the DÁP (dap.gov.hu)
22 lines (21 loc) • 800 B
TypeScript
import { EventName } from '@lit/react';
import { default as Component } from '../../components/rating/rating.js';
import { DdsChangeEvent } from '../../events/events';
export type { DdsChangeEvent } from '../../events/events';
/**
* `dap-ds-rating`
* @summary Rating is a component that allows users to rate a product or service.
* @element dap-ds-rating
* @title - Rating
*
* @event {{ value: number }} dds-change - Event fired when the rating value changes.
*
* @csspart base - The main rating container.
* @csspart star - The star element.
* @csspart stars-container - The container of the stars.
* @csspart icon - The icon of the star.
*/
declare const reactWrapper: import('@lit/react').ReactWebComponent<Component, {
onDdsChange: EventName<DdsChangeEvent>;
}>;
export default reactWrapper;