* Improve marketing website * User guide with icons * Add TOC * Linter * Basic GraphQL playground * Very basic contributors page * Failed attempt to integrate REST playground * Yarn * Begin contributors DB * Improve contributors page
12 lines
246 B
TypeScript
12 lines
246 B
TypeScript
import Image from 'next/image';
|
|
|
|
export const PostImage = ({
|
|
sources,
|
|
style,
|
|
}: {
|
|
sources: { light: string; dark: string };
|
|
style?: React.CSSProperties;
|
|
}) => {
|
|
return <Image src={sources.light} style={style} alt={sources.light} />;
|
|
};
|