@activecollab/components
Version:
ActiveCollab Components
17 lines • 568 B
JavaScript
import styled, { css } from "styled-components";
import { Button } from "../Button";
export const StyledIconButton = styled(Button).withConfig({
displayName: "Styles__StyledIconButton",
componentId: "sc-1teza2f-0"
})(["display:inline-flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], _ref => {
let {
size
} = _ref;
return size === "small" && css(["width:24px;svg{width:18px;height:18px;}"]);
}, _ref2 => {
let {
size
} = _ref2;
return size === "big" && css(["width:40px;"]);
});
//# sourceMappingURL=Styles.js.map