MCPcopy Index your code
hub / github.com/proksh/atomize / computeDivStyle

Function computeDivStyle

src/atoms/div/Div.style.js:7–122  ·  view source on GitHub ↗
(props, context)

Source from the content-addressed store, hash-verified

5import findBorder from "../../style-functions/findBorder";
6
7const computeDivStyle = (props, context) => {
8 const {
9 d,
10 pos,
11 top,
12 bottom,
13 left,
14 right,
15 justify,
16 align,
17 flexDir,
18 flexGrow,
19 flexWrap,
20 order,
21 m,
22 p,
23 rounded,
24 border,
25 borderColor,
26 h,
27 maxH,
28 minH,
29 w,
30 minW,
31 maxW,
32 cursor,
33 bg,
34 bgImg,
35 bgSize,
36 bgRepeat,
37 bgPos,
38 textSize,
39 textColor,
40 textWeight,
41 textAlign,
42 textTransform,
43 fontFamily,
44 shadow,
45 transition,
46 transform,
47 transformOrigin,
48 zIndex,
49 overflow,
50 opacity,
51 hoverBg,
52 hoverTextColor,
53 hoverBorderColor,
54 hoverShadow,
55 focusBorderColor,
56 isOpen,
57 hover,
58 offset,
59 size,
60 targetHover,
61 theme,
62 tag,
63 ...rest
64 } = props;

Callers 1

Div.jsFile · 0.70

Calls 5

findRoundedDirectionFunction · 0.85
findDirectionFunction · 0.85
makeResponsiveFunction · 0.85
findBorderFunction · 0.85
arrayKeyMapToObjectFunction · 0.85

Tested by

no test coverage detected