@planningcenter/doxy-web
Advanced tools
Comparing version 1.15.0-rc.2 to 1.15.0-rc.3
import React from "react"; | ||
import { Columns, Gap } from "./types"; | ||
export interface GridProps { | ||
as?: "div" | "section"; | ||
children: React.ReactNode; | ||
@@ -9,2 +8,2 @@ columns?: Columns; | ||
} | ||
export declare const Grid: ({ as, children, columns, gap, }: GridProps) => JSX.Element; | ||
export declare const Grid: ({ children, columns, gap }: GridProps) => JSX.Element; |
@@ -212,3 +212,2 @@ import React, { forwardRef } from 'react'; | ||
let { | ||
as = "div", | ||
children, | ||
@@ -218,4 +217,3 @@ columns = 1, | ||
} = _ref; | ||
const GridHtmlElement = as; | ||
return /*#__PURE__*/React.createElement(GridHtmlElement, { | ||
return /*#__PURE__*/React.createElement("div", { | ||
"data-testid": "grid", | ||
@@ -222,0 +220,0 @@ className: classnames("grid", columns && getColumnClasses(columns), gap && getGapClasses(gap)) |
@@ -221,3 +221,2 @@ 'use strict'; | ||
let { | ||
as = "div", | ||
children, | ||
@@ -227,4 +226,3 @@ columns = 1, | ||
} = _ref; | ||
const GridHtmlElement = as; | ||
return /*#__PURE__*/React__default["default"].createElement(GridHtmlElement, { | ||
return /*#__PURE__*/React__default["default"].createElement("div", { | ||
"data-testid": "grid", | ||
@@ -231,0 +229,0 @@ className: classnames__default["default"]("grid", columns && getColumnClasses(columns), gap && getGapClasses(gap)) |
{ | ||
"name": "@planningcenter/doxy-web", | ||
"version": "1.15.0-rc.2", | ||
"version": "1.15.0-rc.3", | ||
"description": "Doxy for Church Center Web", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
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
564977
11393