Skip to content

Commit 5f4ad04

Browse files
committed
using props in example
1 parent b03adc4 commit 5f4ad04

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

example/scripts/Root.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ import Password from '../../src';
66

77
const Root = () => (
88
<div>
9-
<Password />
9+
<Password
10+
uppercase
11+
lowercase
12+
digits
13+
onChange={(valid, password) => { console.log(valid, password)}}
14+
/>
1015
</div>
1116
);
1217

0 commit comments

Comments
 (0)