feat(dropdown): support "sm", "xl" sizes

This commit is contained in:
Eric Liu 2020-10-26 14:31:11 -07:00
commit 7e2ab46e6a
3 changed files with 16 additions and 1 deletions

View file

@ -182,6 +182,8 @@
aria-label="{$$props['aria-label']}"
class="bx--dropdown {invalid && 'bx--dropdown--invalid'}
{open && 'bx--dropdown--open'}
{size === 'sm' && 'bx--dropdown--sm'}
{size === 'xl' && 'bx--dropdown--xl'}
{inline && 'bx--dropdown--inline'}
{disabled && 'bx--dropdown--disabled'}
{light && 'bx--dropdown--light'}"