forked from OctoWoW/OctoLauncher
5dca94a3fc
Manifest-based CDN updater and mod manager for the OctoWoW 1.12.1 client: launcher-owned realmlist, torrent-backed content sync with bundled aria2c, antivirus and Defender exclusion handling, hardware-aware render distance, optional client tweaks and mods, and the in-launcher news feed.
18 lines
377 B
TypeScript
18 lines
377 B
TypeScript
import cls from 'classnames';
|
|
import { forwardRef, type HTMLProps } from 'react';
|
|
|
|
const TextInput = forwardRef<HTMLInputElement, HTMLProps<HTMLInputElement>>(
|
|
(props, ref) => (
|
|
<input
|
|
ref={ref}
|
|
{...props}
|
|
className={cls(
|
|
'cursor-text border-b border-blueGray bg-inherit p-1 hocus:border-orange',
|
|
props.className
|
|
)}
|
|
/>
|
|
)
|
|
);
|
|
|
|
export default TextInput;
|