React UI Components
Show Demo List
|
ReactJS Password Input demo. jqxPasswordInput Fluid Size Example. The width of the PasswordInput in this demo is in Percentages.
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title id="Description">
ReactJS Password Input demo. jqxPasswordInput Fluid Size Example. The width of the PasswordInput in this demo is in Percentages.
</title>
<link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" />
<script type="text/javascript" src="../jqwidgets/jqxcore.js"></script>
<script type="text/javascript" src="../jqwidgets/jqxpasswordinput.js"></script>
<script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script>
<script type="text/javascript" src="../scripts/demos.js"></script>
</head>
<body>
<div class="example-description" style="margin-bottom: 3em">
ReactJS Password Input demo. jqxPasswordInput Fluid Size Example. The width of the PasswordInput in this demo is in Percentages.
</div>
<div id="app"></div>
<script src="../build/passwordinput_fluidsize.bundle.js"></script>
</body>
</html>
import React from 'react';
import ReactDOM from 'react-dom';
import JqxPasswordInput from '../../../jqwidgets-react/react_jqxpasswordinput.js';
class App extends React.Component {
render() {
return (
<JqxPasswordInput ref='passwordInput'
width={'50%'} height={25}
placeHolder={'Enter password:'}
/>
)
}
}
ReactDOM.render(<App />, document.getElementById('app'));