@porsche-design-system/components-react
Version:
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
22 lines (21 loc) • 1.12 kB
TypeScript
import { Component } from 'react';
/**
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
* @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
*/
export declare class DSRCheckbox extends Component<any> {
host: HTMLElement;
/**
* Emitted when checkbox checked property is changed.
* @deprecated since v3.30.0, will be removed with next major release, use `change` event instead.
*/
private internals;
private initialLoading;
private defaultChecked;
private checkboxInputElement;
formResetCallback(): void;
formDisabledCallback(): void;
formStateRestoreCallback(): void;
render(): JSX.Element;
}