Skip to content

Instantly share code, notes, and snippets.

View Shivam38391's full-sized avatar
🎯
Focusing

shivam sharma Shivam38391

🎯
Focusing
  • jammu
View GitHub Profile
@Shivam38391
Shivam38391 / jsx
Created March 20, 2024 04:40
production level react component input.jsx
import React, { useId, ref } from 'react'
const Input = React.forwardRef(function Input({
label,
type = 'text',
className = "",
...props
}, ref) {