This repository was archived by the owner on Feb 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -86,4 +86,4 @@ You can run the examples with `yarn run examples` and the tests with `yarn test`
86
86
## License
87
87
[ MIT License] ( /LICENSE )
88
88
89
- Copyright (c) 2017 Catalysts GmbH
89
+ Copyright (c) 2017 Catalysts GmbH
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ const menuEntries = [
19
19
{
20
20
path : '/login' ,
21
21
component : Login ,
22
- text : 'Login'
22
+ text : 'Login' ,
23
+ description : ' (Dynamic submit button)'
23
24
} ,
24
25
{
25
26
path : '/registration' ,
@@ -36,13 +37,15 @@ class App extends React.Component {
36
37
< div >
37
38
< div className = "col-md-2 sidebar" >
38
39
< div className = "list-group" >
39
- < span className = "list-group-item" >
40
- < a href = "https://github.com/cat-react/form" > < b > @cat-react/form</ b > </ a > Examples
41
- </ span >
40
+ < span className = "list-group-item" >
41
+ < a href = "https://github.com/cat-react/form" > < b > @cat-react/form</ b > </ a > Examples
42
+ </ span >
42
43
{ menuEntries . map ( ( entry , index ) => {
43
44
const replace = entry . path === window . location . hash . replace ( '#' , '' ) ;
44
- return < Link key = { index } className = "list-group-item nav-link" to = { entry . path }
45
- replace = { replace } > { entry . text } </ Link > ;
45
+ return < span key = { index } className = "list-group-item" >
46
+ < Link className = "nav-link" to = { entry . path } replace = { replace } > { entry . text } </ Link >
47
+ { entry . description }
48
+ </ span > ;
46
49
} ) }
47
50
</ div >
48
51
</ div >
You can’t perform that action at this time.
0 commit comments