conventional left aligned dropdown (#23643)
Co-authored-by: Kartik Saini <[email protected]>
This commit is contained in:
1 parent
76bd90b228
commit
d65c0753ef
1 file changed
+1
-1
@@ -171,7 +171,7 @@ export const DropdownItem = (props: DropdownItemProps) => {
|
|||||||
)}>
|
)}>
|
||||||
<>
|
<>
|
||||||
{CustomStartIcon || (StartIcon && <Icon name={StartIcon} className="mr-1 h-4 w-4" />)}
|
{CustomStartIcon || (StartIcon && <Icon name={StartIcon} className="mr-1 h-4 w-4" />)}
|
||||||
<div className={classNames("w-fit text-sm font-medium leading-none", childrenClassName)}>
|
<div className={classNames("w-full text-left text-sm font-medium leading-none", childrenClassName)}>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
{EndIcon && <Icon name={EndIcon} className="h-4 w-4" />}
|
{EndIcon && <Icon name={EndIcon} className="h-4 w-4" />}
|
||||||
|
|||||||
Reference in new issue
Block a user