@activecollab/components
Version:
ActiveCollab Components
14 lines • 519 B
JavaScript
import styled from "styled-components";
import { FLEX_ALIGN, SPACE } from "../LayoutTokens";
export const StyledStack = styled.div.withConfig({
displayName: "Styles__StyledStack",
componentId: "sc-tbfmh1-0"
})(["display:flex;flex-direction:column;gap:", ";", ""], _ref => {
let $space = _ref.$space;
return SPACE[$space];
}, _ref2 => {
let $align = _ref2.$align;
return $align ? "align-items: " + FLEX_ALIGN[$align] + ";" : "";
});
StyledStack.displayName = "StyledStack";
//# sourceMappingURL=Styles.js.map