@codersociety/grid
Advanced tools
+0
-6
| /// <reference types="react" /> | ||
| import PropTypes from "prop-types"; | ||
| export declare const Flex: import("styled-components").StyledComponent<"div", any, {}, never>; | ||
@@ -11,7 +10,2 @@ interface GridProps { | ||
| ({ gutterX, gutterY, render }: GridProps): JSX.Element; | ||
| propTypes: { | ||
| gutterX: PropTypes.Requireable<string>; | ||
| gutterY: PropTypes.Requireable<string>; | ||
| render: PropTypes.Validator<(...args: any[]) => any>; | ||
| }; | ||
| defaultProps: { | ||
@@ -18,0 +12,0 @@ gutterX: string; |
+0
-6
@@ -5,3 +5,2 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { | ||
| }; | ||
| import PropTypes from "prop-types"; | ||
| import React from "react"; | ||
@@ -17,7 +16,2 @@ import styled from "styled-components"; | ||
| }; | ||
| Grid.propTypes = { | ||
| gutterX: PropTypes.string, | ||
| gutterY: PropTypes.string, | ||
| render: PropTypes.func.isRequired | ||
| }; | ||
| Grid.defaultProps = { | ||
@@ -24,0 +18,0 @@ gutterX: "0", |
+2
-3
| { | ||
| "name": "@codersociety/grid", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "Responsive Grid React Component", | ||
@@ -42,4 +42,3 @@ "main": "dist/index.js", | ||
| "tslint-react": "^3.6.0", | ||
| "typescript": "^3.2.2", | ||
| "prop-types": "^15.6.2" | ||
| "typescript": "^3.2.2" | ||
| }, | ||
@@ -46,0 +45,0 @@ "dependencies": {}, |
19
-5%5509
-6.85%56
-17.65%