Skip to content

Instantly share code, notes, and snippets.

@mugan86 mugan86/index.tsx
Created Nov 8, 2019

What would you like to do?
Componente React
import React from 'react';
export const Hello: React.FC<{ name: String }> = ({name}) => {
if (!name) {
name = 'Mundo';
return (<h1>¡¡Hola {name}!!</h1>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.