@pagedotapp/page-input
v0.0.0-alpha.13
Published
PageInput - A reusable React component
Readme
@pagedotapp/page-input
A styled input component with consistent theming
Installation
npm install @pagedotapp/page-inputUsage
import { PageInput } from "@pagedotapp/page-input"
function App() {
return (
<PageInput
type="text"
placeholder="Enter text..."
value={value}
onChange={handleChange}
/>
)
}Props
See the TypeScript definitions for detailed prop types.
Styling
This component uses CSS modules for styling. The styles are injected automatically when you use the component.
Dependencies
Peer Dependencies
- React >=16.8.0
- React DOM >=16.8.0
License
MIT © PageStudio
