Default allowed non-declared props on component in TSX

interface AllowedComponentProps {
    class?: unknown;
    style?: unknown;
}

Properties

Properties

class?: unknown
style?: unknown