Take a look at this code snippet:
export type DataViewProps = {
width: number, // in pixels
height: number, // in pixels
data: Data,
};
export class DataView<P extends DataViewProps = DataViewProps>
extends React.Component<P> {
Can you explain the significance of the
<P extends DataViewProps = DataViewProps>
assignment?