This repository has been archived on 2025-05-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Astral-nook/resources/scripts/components/elements/inputs/InputField.tsx

7 lines
340 B
TypeScript

import React, { forwardRef } from 'react';
import classNames from 'classnames';
import styles from './styles.module.css';
export default forwardRef<HTMLInputElement, React.ComponentProps<'input'>>(({ className, ...props }, ref) => (
<input ref={ref} className={classNames('form-input', styles.text_input, className)} {...props} />
));