UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

16 lines 571 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); class TrafficComponent extends React.Component { constructor() { super(...arguments); this.onChange = (event) => { this.props.onChange(event.target.checked); }; } render() { return (React.createElement("input", { type: "checkbox", name: "showTrafficCheckbox", checked: this.props.checked, onChange: this.onChange })); } } exports.TrafficComponent = TrafficComponent; //# sourceMappingURL=traffic.js.map