UNPKG

@atlaskit/checkbox

Version:

A checkbox is an input control that allows a user to select one or more options from a number of choices.

24 lines 997 B
/* label.tsx generated by @compiled/babel-plugin v0.36.1 */ import "./label.compiled.css"; import * as React from 'react'; import { ax, ix } from "@compiled/react/runtime"; import { B200, B300, B400, B50, N10, N100, N20, N30, N70, N80, N900, R300 } from '@atlaskit/theme/colors'; const baseStyles = null; const textLabelLayoutStyles = null; const disabledStyles = null; const labelStyles = null; export default function Label({ children, isDisabled, testId, label, id, xcss }) { return /*#__PURE__*/React.createElement("label", { className: ax(["_11c82smr _1e0c11p5 _1ejihkll _umai184x _syazj3m3 _80om73ad", label && "_zulp1nu5 _yv0ey09t", isDisabled && "_syaz1tvo _80om13gf", "_h5e3mag2 _1nzs11d3 _1eszzyvw _yp0jhh5a _ay2w1y1w _d51u10ko _phft1fmg _1g1funzk _l6wkzyvw _1dikhh5a _1sfg1q3k _fpdj1y1w _1yjc194a _oaj11fmg _1j3h1q3k _eawb1dzn _1rda1qbb _18q015t7 _13hr1j28", xcss]), "data-testid": testId, "data-disabled": isDisabled || undefined, id: id }, children); }