0.0.2-0 • Published 4 years ago
stitches-utiles v0.0.2-0
stitches-utils
Helpful stitches utilities like
marginY
,marginX
,square
etc. combined in one package
Installation:
yarn add stitches-utils
or
nom install stitches-utils
Usage:
Import all utils
import { createStyled } from "@stitches/react";
import * as utils from "stitches-utils";
export const { styled, css } = createStyled({
utils,
});
Import specific utils
import { createStyled } from "@stitches/react";
import { mx, my } from "stitches-utils";
export const { styled, css } = createStyled({
utils: {
mx,
my,
},
});
Utils overview:
0.0.2-0
4 years ago