Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@brighthr/component-input
Advanced tools
To install, type the following into the command line at the root of your project:
To install, type the following into the command line at the root of your project:
npm i @brighthr/component-input
To implement the Input component into your project you’ll need to add the import:
import Input from '@brighthr/component-input';
After adding import into your project you can use it simply like:
<Input />
Name | Type | Default | Description |
---|---|---|---|
buttonAriaLabel | string | Sets the aria-label for the button if hasOverlay and hasButton are true . | |
disabled | boolean | If true , disables the input. | |
error | boolean | false | If true , shows a red error theme. |
inputSize | 'base' 'xl' | 'base' | Sets the size of the input. |
label | string | Sets the label text. | |
leftIconName | IconName | Sets the icon to display on the left (See Icon component). | |
onClickButton | () => void | Function to handle onclick. | |
required | boolean | false | If true , sets the html input as required and adds the red required text. |
rightIconName | IconName | Sets the icon to display on the right (See Icon component). | |
unit | 'days' 'hrs' 'mins' | Sets the unit to display. |
FAQs
To install, type the following into the command line at the root of your project:
The npm package @brighthr/component-input receives a total of 1,678 weekly downloads. As such, @brighthr/component-input popularity was classified as popular.
We found that @brighthr/component-input demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.