From 0d3582c99a11f87db6d6767cc4701ba1cf6a61f0 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Sun, 17 Mar 2024 11:21:12 +0700 Subject: [PATCH] feat: add Inter to inputs --- libraries/react-shared-libraries/src/form/canonical.tsx | 3 ++- libraries/react-shared-libraries/src/form/input.tsx | 3 ++- libraries/react-shared-libraries/src/form/select.tsx | 3 ++- libraries/react-shared-libraries/src/form/textarea.tsx | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libraries/react-shared-libraries/src/form/canonical.tsx b/libraries/react-shared-libraries/src/form/canonical.tsx index f98e719e..5987b1f9 100644 --- a/libraries/react-shared-libraries/src/form/canonical.tsx +++ b/libraries/react-shared-libraries/src/form/canonical.tsx @@ -11,6 +11,7 @@ import { clsx } from 'clsx'; import { useFormContext } from 'react-hook-form'; import dayjs from 'dayjs'; import { useShowPostSelector } from '../../../../apps/frontend/src/components/post-url-selector/post.url.selector'; +import interClass from '../helpers/inter.font'; export const Canonical: FC< DetailedHTMLProps, HTMLInputElement> & { @@ -47,7 +48,7 @@ export const Canonical: FC< return (
-
{label}
+
{label}
, HTMLInputElement> & { @@ -23,7 +24,7 @@ export const Input: FC< return (
-
{label}
+
{label}
, HTMLSelectElement> & {error?: any, disableForm?: boolean, label: string, name: string}> = (props) => { const {label, className, disableForm, error, ...rest} = props; @@ -15,7 +16,7 @@ export const Select: FC -
{label}
+
{label}