1
0
Fork 0

refactor(components): Removed prop-types dependency

This commit is contained in:
Joost De Cock 2020-04-25 19:09:02 +02:00
parent 8cf8424437
commit cda9b03713
44 changed files with 559 additions and 1026 deletions

View file

@ -1,5 +1,4 @@
import React from 'react'
import PropTypes from 'prop-types'
import { getProps } from '../utils'
const Snippet = (props) => {
@ -25,8 +24,4 @@ const Snippet = (props) => {
return <use {...snippetProps} {...getProps(props.snippet)} />
}
Snippet.propTypes = {
snippet: PropTypes.object.isRequired
}
export default Snippet