- Spotify playlist, library, album and artist browsing with in-app playback - Song, playlist and album downloads via spotdl with YouTube and Bandcamp fallbacks - Electron desktop app (castLabs Widevine) with a permanent sidebar layout - Linux and Windows packaging scripts
19 lines
438 B
TypeScript
19 lines
438 B
TypeScript
import React, { forwardRef, InputHTMLAttributes } from "react";
|
|
import styles from "./Input.module.css";
|
|
|
|
type InputProps = InputHTMLAttributes<HTMLInputElement>;
|
|
|
|
export const Input = forwardRef<HTMLInputElement, InputProps>(
|
|
({ className, ...props }, ref) => {
|
|
return (
|
|
<input
|
|
ref={ref}
|
|
className={`${styles.input} ${className || ""}`}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
);
|
|
|
|
Input.displayName = "Input";
|