Помогите :)
Что за бред?
Property 'state' in type 'ItemTitle' is not
assignable to the same property in base type 'PureComponent<ItemTitleProps, ItemTitleState, any>'.
Type '{ mode: string; }' is not assignable to type 'Readonly<ItemTitleState>'.
Types of property 'mode' are incompatible.
Type 'string' is not assignable to type '"view" | "edit"'. TS2416