function a(t, e) {
  return e ? { [`data-${t}`]: "true" } : {};
}
function n(t) {
  const e = {};
  for (const r of Object.keys(t))
    e[`data-${r}`] = t[r] ? "true" : "false";
  return e;
}
export {
  a as dataAttr,
  n as dataAttrs
};
//# sourceMappingURL=dataAttributes.js.map
