```js
// .storybook/my-addon/register.js

export const Panel = () => {
  const state = useStorybookState();

  return <div>do something with storybook's state</div>;
};
```