mirror of
https://github.com/SomboChea/ui
synced 2024-04-28 15:41:37 +07:00
19 lines
430 B
JavaScript
19 lines
430 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import Dependencies from '../Dependencies';
|
|
|
|
export const TITLE = 'Peer Dependencies';
|
|
|
|
const PeerDependencies = ({dependencies = {}, title = TITLE}) => {
|
|
return (
|
|
<Dependencies dependencies={dependencies} title={title} />
|
|
);
|
|
};
|
|
|
|
PeerDependencies.propTypes = {
|
|
dependencies: PropTypes.object,
|
|
title: PropTypes.string,
|
|
};
|
|
|
|
export default PeerDependencies;
|