import Link from 'next/link';
import React from 'react'
import PropTypes from 'prop-types';
/**
* Displays information about an organization in a dataset page
* @param {Object} props object describing the dataset organization.
* organization: {
* image_url: The image url of the organization
* name: The name of the organization
* title: The title of the organization
* }
* @returns
*/
const Org = ({ organization }) => {
return (
<>
{organization ? (
<>
{organization.title || organization.name}
>
) : (
''
)}
>
);
};
Org.propTypes = {
organization: PropTypes.object.isRequired
}
export default Org;