Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
input-material-ui
Advanced tools
Readme
A material-ui INPUT component which allows to see/hide the password text of the field and to clear the input value
You can access the storybook for this component here.
The component accepts the props defined bellow in the table.
Name | Type | Required | Default | Description |
---|---|---|---|---|
FormHelperTextProps | FormHelperTextProps | no | undefined | The props passed to helper text |
helperText | string | no | undefined | The helper text |
id | string | no | undefined | The id of the field |
InputLabelProps | InputLabelProps | no | undefined | The Props passed to label |
InputProps | InputProps | no | undefined | The props passed to input field |
label | string | yes | - | The label of the field |
onChange | (value: string) => void | yes | - | The callback function called when the value is changed |
placeholder | string | no | undefined | The placeholder of the field |
type | string | no | text | The type of the field; ex. text, password |
value | string | no | undefined | The value of the field |
InputMaterialUi uses | Material-ui | React |
---|---|---|
1.0.x | 3.2.0 | 16.5.2 |
1.1.x | 3.6.0 | 16.6.3 |
1.2.x | 3.9.2 | 16.8.1 |
1.3.x | 3.9.3 | 16.8.6 |
2.0.x | 4.0.2 | 16.8.6 |
2.1.x | 4.2.0 | 16.8.6 |
2.2.x | 4.3.2 | 16.9.0 |
2.3.x | 4.9.0 | 16.9.0 |
2.4.x | 4.9.7 | 16.9.0 |
2.5.x | 4.10.2 | 16.9.0 |
2.6.x | 4.11.0 | 16.9.0 |
2.7.x | 4.11.3 | 16.9.0 or 17.0.0 |
2.8.x | 4.11.3 | 16.9.0 or 17.0.0 |
2.9.x | 4.12.3 | 16.9.0 or 17.0.0 |
3.0.x | 5.10.17 | >=18.0.0 |
3.1.x | 5.14.20 | >=18.0.0 |
The base component which allows to create an input with a visible or masked input:
import * as React from 'react';
import InputMaterialUi from 'input-material-ui';
class App extends React.Component {
render() {
return (
<div className="App">
<InputMaterialUi
type="text"
label="Account"
placeholder="contains this text"
value={value}
onChange={onChange}
/>
</div>
);
}
handleChange = (event: any) => {
console.log(event);
};
}
export default App;
import * as React from 'react';
import InputMaterialUi from 'input-material-ui';
class App extends React.Component {
render() {
return (
<div className="App">
<InputMaterialUi type="password" label="Password" onChange={onChange} />
</div>
);
}
handleChange = (event: any) => {
console.log(event);
};
}
export default App;
FAQs
A material-ui INPUT component which allows to see/hide the password text of the field and to clear the input value
The npm package input-material-ui receives a total of 348 weekly downloads. As such, input-material-ui popularity was classified as not popular.
We found that input-material-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.