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

Function computeDivStyle

src/atoms/input/Input.style.js:7–136  ·  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 pos,
10 top,
11 bottom,
12 left,
13 right,
14 justify,
15 align,
16 flexDir,
17 flexGrow,
18 flexWrap,
19 order,
20 p,
21 rounded,
22 border,
23 borderColor,
24 h,
25 maxH,
26 minH,
27 w,
28 minW,
29 maxW,
30 cursor,
31 bg,
32 bgImg,
33 bgSize,
34 bgRepeat,
35 bgPos,
36 textSize,
37 textColor,
38 textWeight,
39 textAlign,
40 textTransform,
41 fontFamily,
42 shadow,
43 transition,
44 transform,
45 transformOrigin,
46 zIndex,
47 overflow,
48 opacity,
49 hoverBg,
50 hoverTextColor,
51 hoverBorderColor,
52 hoverShadow,
53 isOpen,
54 hover,
55 offset,
56 size,
57 targetHover,
58 theme,
59 focusBg,
60 focusBorderColor,
61 focusTextColor,
62 focusShadow,
63 placeholderTextColor,
64 ...rest

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected