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