@2fn/ui
Version:
12 lines (11 loc) • 616 B
JavaScript
import * as React from 'react';
const style = { marginRight: '2rem', display: 'inline' };
export function DetailsAboutMe({ details }) {
return (React.createElement(React.Fragment, null,
details.name ? React.createElement("h4", { style: style }, details.name) : null,
details.twitter ? (React.createElement("h6", { style: style },
React.createElement("a", { target: "_blank", href: `https://twitter.com/${details.twitter}` }, `@${details.twitter}`))) : null,
details.github ? React.createElement("h6", { style: style },
"@",
details.github) : null));
}