createInstance() not recognized as function

I have created a component with four variants called fileStatusComponentSet. I want to place an instance of that component on the current page with a plugin

But when I run createIntsance() it throws an error

var coverFileStatusInstance = fileStatusComponentSet.createInstance()

it throws an error in the console saying type error: not a function

I am quite perplexed as I see documentation for createInstance() and have seen other code that runs it no problem. What am I missing? Thanks in advance!

SOLVED: I was referencing the componentSet not the specific component

Just commenting in case anyone else runs into this same problem