File tree Expand file tree Collapse file tree 2 files changed +3
-26
lines changed Expand file tree Collapse file tree 2 files changed +3
-26
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @wedevs/tail-react" ,
3
- "version" : " 0.3.3 " ,
3
+ "version" : " 0.3.4 " ,
4
4
"description" : " A React UI component library based on Tailwind CSS" ,
5
5
"author" : " Tareq Hasan" ,
6
6
"license" : " MIT" ,
78
78
"vite" : " ^4.4.5" ,
79
79
"vite-plugin-dts" : " ^3.4.0"
80
80
}
81
- }
81
+ }
Original file line number Diff line number Diff line change 1
- import { useState } from 'react' ;
2
- import { TextField , Textarea } from '.' ;
3
-
4
1
const App = ( ) => {
5
- const [ value , setValue ] = useState ( '' ) ;
6
-
7
- return (
8
- < div className = "p-6 space-y-4" >
9
- < TextField
10
- label = "Label"
11
- value = { value }
12
- onChange = { ( value ) => setValue ( value ) }
13
- onBlur = { ( ) => console . log ( 'on blur' ) }
14
- onFocus = { ( ) => console . log ( 'on focus' ) }
15
- />
16
-
17
- < Textarea
18
- label = "Label"
19
- value = { value }
20
- onChange = { ( value ) => setValue ( value ) }
21
- onBlur = { ( ) => console . log ( 'on blur' ) }
22
- onFocus = { ( ) => console . log ( 'on focus' ) }
23
- />
24
- </ div >
25
- ) ;
2
+ return < div className = "p-6 space-y-4" > </ div > ;
26
3
} ;
27
4
28
5
export default App ;
You can’t perform that action at this time.
0 commit comments