mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-18 04:21:12 +02:00
add back A component
This commit is contained in:
@@ -19,6 +19,10 @@ class Clickable extends Component {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function A(props) {
|
||||||
|
return <Clickable Tag={'a'} {...props} />;
|
||||||
|
}
|
||||||
|
|
||||||
export function Button(props) {
|
export function Button(props) {
|
||||||
return <Clickable Tag={'button'} {...props} />;
|
return <Clickable Tag={'button'} {...props} />;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user