forked from cerc-io/snowballtools-base
🔧 chore: remove dot when description dont exist
This commit is contained in:
parent
ee35e64f69
commit
2f466d4fbb
@ -62,11 +62,13 @@ const SelectItem = forwardRef<HTMLLIElement, SelectItemProps>(
|
|||||||
<p className={theme.label()} data-disabled={disabled}>
|
<p className={theme.label()} data-disabled={disabled}>
|
||||||
{label}
|
{label}
|
||||||
</p>
|
</p>
|
||||||
{orientation === 'horizontal' && <span className={theme.dot()} />}
|
|
||||||
{description && (
|
{description && (
|
||||||
|
<>
|
||||||
|
{orientation === 'horizontal' && <span className={theme.dot()} />}
|
||||||
<p className={theme.description()} data-disabled={disabled}>
|
<p className={theme.description()} data-disabled={disabled}>
|
||||||
{description}
|
{description}
|
||||||
</p>
|
</p>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{renderRightIcon}
|
{renderRightIcon}
|
||||||
|
Loading…
Reference in New Issue
Block a user