Base props that every Kayla functional component can receive.
Extend this interface when defining custom component props.
interface PlayerProps extends FCProps { initialSpeed?: number; color: string;} Copy
interface PlayerProps extends FCProps { initialSpeed?: number; color: string;}
Optional
Base props that every Kayla functional component can receive.
Remarks
Extend this interface when defining custom component props.
Example