@flexis/ui
Version:
Styleless React Components
32 lines (25 loc) • 349 B
CSS
.root {
-st-states:
withIcon,
flexIcon;
cursor: pointer;
}
.root:disabled {
cursor: default;
}
.iconContainer {
display: flex;
align-items: center;
}
.iconContainer::before {
content: '\200B';
}
.root:flexIcon .iconContainer {
justify-content: space-between;
}
.icon {
-st-states:
leftAlign,
rightAlign;
fill: currentColor;
}