Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

styled-system-props-table

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-system-props-table - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json

@@ -24,3 +24,3 @@ {

"name": "styled-system-props-table",
"version": "0.1.1",
"version": "0.1.2",
"description": "Props table generator with styled-system decorator",

@@ -27,0 +27,0 @@ "main": "dist/main.js",

import React, { useState } from 'react';
import styled from 'styled-components';
import parsePropTypes from './parse-prop-types';

@@ -8,7 +7,5 @@ import PropRow from './PropRow'

import TableBody from '@material-ui/core/TableBody';
import TableContainer from '@material-ui/core/TableContainer';
import TableHead from '@material-ui/core/TableHead';
import TableRow from '@material-ui/core/TableRow';
import TableCell from '@material-ui/core/TableCell';
import { spacing, sizing, typography } from '@material-ui/system';
import transformStyledSystemProps from './styled-system'

@@ -62,6 +59,2 @@

const LinkToTheme = ({ children, themeKey = '', ...rest }) => {
return <div {...rest}>{children}</div>
}
function PropsTablePresentation(props = {}) {

@@ -68,0 +61,0 @@ const {

@@ -41,3 +41,3 @@ import React from 'react'

a {
color: ${({ $linkColor }) => themeGet(`colors.${$linkColor}`, 'red')};
color: ${({ $linkColor }) => $linkColor};
}

@@ -44,0 +44,0 @@ `

@@ -31,3 +31,3 @@ import React from 'react'

text-decoration: underline;
color: ${({ $linkColor }) => themeGet(`colors.${$linkColor}`, 'inherit')};
color: ${({ $linkColor }) => $linkColor};
`

@@ -34,0 +34,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc