@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
13 lines (12 loc) • 570 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { __rest } from "tslib";
import { h } from "@stencil/core";
import { KolButtonWcTag } from "../../core/component-names";
const KolButtonFc = (props) => {
const { label, icons, hideLabel, disabled, onClick } = props, other = __rest(props, ["label", "icons", "hideLabel", "disabled", "onClick"]);
return h(KolButtonWcTag, Object.assign({ _label: label, _disabled: disabled, _icons: icons, _hideLabel: hideLabel, _on: { onClick } }, other));
};
export default KolButtonFc;
//# sourceMappingURL=Button.js.map