🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@aleodoni-common/tailwind-components

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aleodoni-common/tailwind-components - npm Package Compare versions

Comparing version

to
1.0.12

7

build/components/container.d.ts
import React from 'react';
export declare const Container: React.FC;
interface IContainer {
children: React.ReactNode;
bgColor?: string;
}
export declare const Container: React.FC<IContainer>;
export {};

7

build/index.js

@@ -16,5 +16,8 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var Container = function Container(props) {
var children = props.children;
var children = props.children,
_props$bgColor = props.bgColor,
bgColor = _props$bgColor === void 0 ? 'bg-gray-700' : _props$bgColor;
var className = "Container flex xl:w-5/6 md:w-full h-full " + bgColor;
return React.createElement("section", Object.assign({
className: "Container flex xl:w-5/6 md:w-full bg-gray-700"
className: className
}, props), children);

@@ -21,0 +24,0 @@ };

@@ -14,5 +14,8 @@ import React from 'react';

var Container = function Container(props) {
var children = props.children;
var children = props.children,
_props$bgColor = props.bgColor,
bgColor = _props$bgColor === void 0 ? 'bg-gray-700' : _props$bgColor;
var className = "Container flex xl:w-5/6 md:w-full h-full " + bgColor;
return React.createElement("section", Object.assign({
className: "Container flex xl:w-5/6 md:w-full bg-gray-700"
className: className
}, props), children);

@@ -19,0 +22,0 @@ };

{
"name": "@aleodoni-common/tailwind-components",
"version": "1.0.11",
"version": "1.0.12",
"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