How to use enum as props in react/typescript : <p>I have the following enum</p>

<pre><code>export enum Sizes{
    Small,
    Large
}
</code></pre>

<p>which is getting used in my <code>&lt;Demo/&gt;</code> component's props interface:</p>

<pre><code>export interface IProps{
    Label?: string;
    Size: SizeEnum;
}
</code></pre>

<p>My question is, when I use this <code>&lt;Demo Size={how do i define size here?} /&gt;</code>?</p>
