@aleodoni-common/tailwind-components
Advanced tools
Comparing version 1.0.58 to 1.0.59
@@ -6,2 +6,3 @@ import './tailwind.css'; | ||
export * from './components/button'; | ||
export * from './components/formrow'; | ||
export * from './util/classnames'; |
@@ -85,2 +85,10 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var FormRow = function FormRow(props) { | ||
var children = props.children; | ||
var className = "\n flex\n items-center\n w-full\n p-2\n "; | ||
return React.createElement("div", Object.assign({ | ||
className: className | ||
}, props), children); | ||
}; | ||
var classNames = function classNames() { | ||
@@ -96,2 +104,3 @@ for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) { | ||
exports.Container = Container; | ||
exports.FormRow = FormRow; | ||
exports.Input = Input; | ||
@@ -98,0 +107,0 @@ exports.Screen = Screen; |
@@ -83,2 +83,10 @@ import React from 'react'; | ||
var FormRow = function FormRow(props) { | ||
var children = props.children; | ||
var className = "\n flex\n items-center\n w-full\n p-2\n "; | ||
return React.createElement("div", Object.assign({ | ||
className: className | ||
}, props), children); | ||
}; | ||
var classNames = function classNames() { | ||
@@ -92,3 +100,3 @@ for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) { | ||
export { Button, Container, Input, Screen, classNames }; | ||
export { Button, Container, FormRow, Input, Screen, classNames }; | ||
//# sourceMappingURL=index.modern.js.map |
{ | ||
"name": "@aleodoni-common/tailwind-components", | ||
"version": "1.0.58", | ||
"version": "1.0.59", | ||
"main": "./build/index.js", | ||
@@ -5,0 +5,0 @@ "module": "build/index.modern.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43851
14
919