@aleodoni-common/tailwind-components
Advanced tools
Comparing version 1.0.175 to 1.0.176
import React from 'react'; | ||
interface IProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> { | ||
logoComp?: JSX.Element; | ||
logoText?: string; | ||
} | ||
export declare const Nav: React.FC<IProps>; | ||
export {}; |
@@ -393,3 +393,4 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var Nav = function Nav(_ref) { | ||
var logoComp = _ref.logoComp; | ||
var logoComp = _ref.logoComp, | ||
logoText = _ref.logoText; | ||
return React__default.createElement("div", { | ||
@@ -410,5 +411,5 @@ className: "flex flex-col w-full" | ||
className: "flex items-center mx-auto justify-between" | ||
}, logoComp, React__default.createElement("span", { | ||
}, logoComp, logoText && React__default.createElement("span", { | ||
className: "text-xl text-aleodoni-60 pl-4" | ||
}, "Vota\xE7\xE3o")), React__default.createElement("div", { | ||
}, logoText)), React__default.createElement("div", { | ||
className: "hidden md:block" | ||
@@ -415,0 +416,0 @@ }, React__default.createElement("div", { |
@@ -391,3 +391,4 @@ import React, { useState, Fragment } from 'react'; | ||
var Nav = function Nav(_ref) { | ||
var logoComp = _ref.logoComp; | ||
var logoComp = _ref.logoComp, | ||
logoText = _ref.logoText; | ||
return React.createElement("div", { | ||
@@ -408,5 +409,5 @@ className: "flex flex-col w-full" | ||
className: "flex items-center mx-auto justify-between" | ||
}, logoComp, React.createElement("span", { | ||
}, logoComp, logoText && React.createElement("span", { | ||
className: "text-xl text-aleodoni-60 pl-4" | ||
}, "Vota\xE7\xE3o")), React.createElement("div", { | ||
}, logoText)), React.createElement("div", { | ||
className: "hidden md:block" | ||
@@ -413,0 +414,0 @@ }, React.createElement("div", { |
{ | ||
"name": "@aleodoni-common/tailwind-components", | ||
"version": "1.0.175", | ||
"version": "1.0.176", | ||
"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
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
180209
2404