mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 03:17:56 -05:00
12 lines
368 B
TypeScript
12 lines
368 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}
|
|
/>
|
|
));
|