```js // .storybook/my-addon/register.js export const Panel = () => { const state = useStorybookApi(); return
do something with storybook's api
; }; ```