|
@@ -43,28 +43,28 @@ export const useStyles = ({
|
|
|
} as Mutable<TextStyle>
|
|
} as Mutable<TextStyle>
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- if(length !== undefined) {
|
|
|
|
|
- if(direction === "horizontal") {
|
|
|
|
|
- styles.container.width = length;
|
|
|
|
|
- } else {
|
|
|
|
|
- styles.container.height = length;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
if(direction === "horizontal") {
|
|
if(direction === "horizontal") {
|
|
|
styles.container.flexDirection = "row";
|
|
styles.container.flexDirection = "row";
|
|
|
styles.container.width = "90%";
|
|
styles.container.width = "90%";
|
|
|
|
|
|
|
|
- styles.indicator.height = borders.line;
|
|
|
|
|
|
|
+ styles.indicator.height = borders.seperator;
|
|
|
styles.indicator.width = "100%";
|
|
styles.indicator.width = "100%";
|
|
|
} else {
|
|
} else {
|
|
|
styles.container.flexDirection = "column";
|
|
styles.container.flexDirection = "column";
|
|
|
styles.container.height = "90%";
|
|
styles.container.height = "90%";
|
|
|
|
|
|
|
|
- styles.indicator.width = borders.line;
|
|
|
|
|
|
|
+ styles.indicator.width = borders.seperator;
|
|
|
styles.indicator.height = "100%";
|
|
styles.indicator.height = "100%";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if(length !== undefined) {
|
|
|
|
|
+ if(direction === "horizontal") {
|
|
|
|
|
+ styles.container.width = length;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ styles.container.height = length;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return styles;
|
|
return styles;
|
|
|
};
|
|
};
|
|
|
export default stylesheet;
|
|
export default stylesheet;
|