Open geraldodev opened 2 years ago
css property is not being pulled of props as size, so the component may be receiveing css property value, and its applying throgh spread, and after literally manually computing the css property as a product of merge.
https://github.com/radix-ui/design-system/blob/bb37257d6886cbbe1877180d0fb2f3b00cada3e8/components/Heading.tsx#L37
css property is not being pulled of props as size, so the component may be receiveing css property value, and its applying throgh spread, and after literally manually computing the css property as a product of merge.
https://github.com/radix-ui/design-system/blob/bb37257d6886cbbe1877180d0fb2f3b00cada3e8/components/Heading.tsx#L37