Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
4+8 =