import React from 'react' import useScaleable, { withScaleable } from '../use-scaleable' interface Props { block?: boolean className?: string } const defaultProps = { block: false, className: '', } type NativeAttrs = Omit, keyof Props> export type CodeProps = Props & NativeAttrs const CodeComponent: React.FC> = ({ children, block, className, ...props }: React.PropsWithChildren & typeof defaultProps) => { const { SCALES } = useScaleable() if (!block) return {children} return ( <>
        {children}
      
) } CodeComponent.defaultProps = defaultProps CodeComponent.displayName = 'GeistCode' const Code = withScaleable(CodeComponent) export default Code