1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

refactor main components and IProps

This commit is contained in:
Fedor Katurov 2023-11-22 19:59:17 +06:00
parent 85a182c053
commit efbaf13151
124 changed files with 235 additions and 256 deletions

View file

@ -16,7 +16,7 @@ import { useForwardRef } from '~/hooks/dom/useForwardRef';
import styles from './styles.module.scss';
type IProps = DetailedHTMLProps<
type Props = DetailedHTMLProps<
TextareaHTMLAttributes<HTMLTextAreaElement>,
HTMLTextAreaElement
> & {
@ -29,7 +29,7 @@ type IProps = DetailedHTMLProps<
title?: string;
};
const Textarea = forwardRef<HTMLTextAreaElement, IProps>(
const Textarea = forwardRef<HTMLTextAreaElement, Props>(
(
{
placeholder,