mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
redux example rename
This commit is contained in:
13
docs/examples/todos-redux/src/components/Link.js
Normal file
13
docs/examples/todos-redux/src/components/Link.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const h = React.createElement
|
||||
|
||||
const Link = ({ active, children, onClick }) => (
|
||||
h('button', {
|
||||
onClick,
|
||||
disabled: active,
|
||||
style:{
|
||||
marginLeft: '4px',
|
||||
}
|
||||
}, children)
|
||||
)
|
||||
|
||||
export default Link
|
||||
Reference in New Issue
Block a user