I am developing a package, I wish my component could access the store when it has been installed. My package looks like this:
import React, { useState } from