Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

is missing in props validation typescript

import * as React from 'react';
interface PersonProps {
    username: string;
}

function Person(props: PersonProps): React.ReactElement {
    return (
        <div>{props.username}</div>
    )
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #missing #props #validation #typescript
ADD COMMENT
Topic
Name
5+2 =