PluginProbe
Extendify / 0.11.1
Extendify v0.11.1
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / Assist / notices / NextSteps.js

NextSteps.js in Extendify 0.11.1, at src/Assist/notices/NextSteps.js

19 lines 482 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { useGlobalStore, useGlobalStoreReady } from '../state/Global'
2
3 const noticeKey = 'next-steps'
4 export const NextSteps = () => {
5 const { isDismissed, dismissNotice } = useGlobalStore()
6 const ready = useGlobalStoreReady()
7
8 if (!ready || isDismissed(noticeKey)) return null
9
10 return (
11 <div>
12 Notice
13 <button type="button" onClick={() => dismissNotice(noticeKey)}>
14 dismiss
15 </button>
16 </div>
17 )
18 }
19