File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @wedevs/tail-react" ,
3- "version" : " 0.3.3 " ,
3+ "version" : " 0.3.4 " ,
44 "description" : " A React UI component library based on Tailwind CSS" ,
55 "author" : " Tareq Hasan" ,
66 "license" : " MIT" ,
7878 "vite" : " ^4.4.5" ,
7979 "vite-plugin-dts" : " ^3.4.0"
8080 }
81- }
81+ }
Original file line number Diff line number Diff line change 1- import { useState } from 'react' ;
2- import { TextField , Textarea } from '.' ;
3-
41const 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 > ;
263} ;
274
285export default App ;
You can’t perform that action at this time.
0 commit comments