import React from "react"; import LabelProps from "./Label.types"; export const Label = ({ children, id, classes, htmlFor, isPageHeading, ...attributes }: LabelProps) => { const labelHtml = ( { children } ) if (isPageHeading) { return (