feat: Implement adding controls in Tabs (#21)

This commit is contained in:
Fine0830
2022-03-04 15:35:29 +08:00
committed by GitHub
parent 59441f7a67
commit 1377703185
15 changed files with 347 additions and 150 deletions

View File

@@ -21,7 +21,7 @@ limitations under the License. -->
lg: size === 'lg',
xl: size === 'xl',
logo: size === 'logo',
loading: loading,
loading,
}"
>
<use :xlink:href="`#${iconName}`"></use>
@@ -73,4 +73,15 @@ defineProps({
width: 30px;
}
}
@keyframes loading {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(1turn);
transform: rotate(1turn);
}
}
</style>