mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
17 lines
240 B
JavaScript
17 lines
240 B
JavaScript
const h = React.createElement
|
|
|
|
const Link = ({ active, children, onClick }) =>
|
|
h(
|
|
"button",
|
|
{
|
|
onClick,
|
|
disabled: active,
|
|
style: {
|
|
marginLeft: "4px",
|
|
},
|
|
},
|
|
children,
|
|
)
|
|
|
|
export default Link
|