feat: Add support for icons in Dropdown

This commit is contained in:
Aman Harwara
2021-10-01 13:06:00 +05:30
parent 1a92fffcd4
commit 47b49aa7a9
2 changed files with 31 additions and 4 deletions

View File

@@ -69,11 +69,20 @@
@extend .border-solid;
@extend .border-gray-300;
@extend .border-1;
@extend .min-w-42;
@extend .min-w-55;
}
.sn-dropdown-button-label {
@extend .flex;
@extend .items-center;
}
.sn-dropdown-arrow {
@extend .flex;
&.sn-dropdown-arrow-flipped {
transform: rotate(180deg);
}
}
/** Lesser specificity will give priority to reach's styles */