chore: minor ui improvements

This commit is contained in:
liyasthomas
2021-09-19 20:27:20 +05:30
parent 0fcd9733ff
commit 49741875bd
13 changed files with 112 additions and 105 deletions

View File

@@ -27,6 +27,8 @@ const SmartLink = {
let on = {}
switch (tag) {
case ANCHOR_TAG:
attrs["aria-label"] = "Link"
// Map `to` prop to the correct attribute
attrs.href = context.props.to
@@ -53,6 +55,7 @@ const SmartLink = {
break
default:
attrs["aria-label"] = "Button"
break
}