makondratev
2024-02-18 8c5c5f9130c65fcc48412a24b0a6c98b254f1934
quartz/components/MobileOnly.tsx
@@ -3,7 +3,7 @@
export default ((component?: QuartzComponent) => {
  if (component) {
    const Component = component
    function MobileOnly(props: QuartzComponentProps) {
    const MobileOnly: QuartzComponent = (props: QuartzComponentProps) => {
      return <Component displayClass="mobile-only" {...props} />
    }