I have one requirement about preparing excel and word document based on SharePoint list data and download it for user in SharePoint Online using SPFX web part.
My question is: Can we create SPFx web part in which it creates a document using code and download it from web part? OR even is it possible with SPFx web part to create a document using coding?