Comparing version 0.0.22 to 0.0.23
@@ -96,2 +96,6 @@ "use strict"; | ||
/* babel-plugin-inline-import './Layout/styles.css' */ | ||
var layoutStyle = ".ab-layout-row {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n overflow: hidden;\n}\n.ab-layout-col {\n display: flex;\n flex: 1;\n}\n"; | ||
styles = (0, _lodash.assign)(styles, (0, _cssToReactNativeTransform["default"])(layoutStyle)); // Web Migrated | ||
var Div = _reactNative.View; | ||
@@ -98,0 +102,0 @@ exports.Div = Div; |
export default Col; | ||
declare function Col(props: any): JSX.Element; | ||
declare namespace Col { | ||
export namespace propTypes { | ||
export const xs: PropTypes.Requireable<number>; | ||
export const sm: PropTypes.Requireable<number>; | ||
export const md: PropTypes.Requireable<number>; | ||
export const lg: PropTypes.Requireable<number>; | ||
export const xlg: PropTypes.Requireable<number>; | ||
} | ||
export namespace defaultProps { | ||
const xlg_1: number; | ||
export { xlg_1 as xlg }; | ||
} | ||
} | ||
import PropTypes from "prop-types"; | ||
declare const Col: React.NamedExoticComponent<object>; | ||
import React from "react"; |
@@ -28,3 +28,3 @@ "use strict"; | ||
var Col = function Col(props) { | ||
var Col = _react["default"].memo(function (props) { | ||
var xs = props.xs, | ||
@@ -67,3 +67,3 @@ sm = props.sm, | ||
}, children); | ||
}; | ||
}); | ||
@@ -70,0 +70,0 @@ Col.propTypes = { |
export const RowContext: React.Context<{}>; | ||
export default Row; | ||
import React from "react"; | ||
declare function Row(props: any): JSX.Element; | ||
declare namespace Row { | ||
export namespace propTypes { | ||
export const gap: PropTypes.Requireable<number>; | ||
} | ||
export namespace defaultProps { | ||
const gap_1: number; | ||
export { gap_1 as gap }; | ||
} | ||
} | ||
import PropTypes from "prop-types"; | ||
declare const Row: React.NamedExoticComponent<object>; |
@@ -30,3 +30,3 @@ "use strict"; | ||
var Row = function Row(props) { | ||
var Row = _react["default"].memo(function (props) { | ||
var children = props.children; | ||
@@ -49,3 +49,3 @@ var context = (0, _react.useContext)(_utils.ABContext); | ||
}, children)); | ||
}; | ||
}); | ||
@@ -52,0 +52,0 @@ Row.propTypes = { |
{ | ||
"name": "actbase", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "React & React-Native Design Components", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
106577
1600