-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export shared variables in entry point
- Loading branch information
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
// addons, panels and events get unique names using a prefix | ||
export const ADDON_ID = 'jbovenschen/storybook-addon-a11y'; | ||
export const PANEL_ID = `${ADDON_ID}/addon-panel`; | ||
export const EVENT_ID = `${ADDON_ID}/addon-event`; | ||
const ADDON_ID = 'jbovenschen/storybook-addon-a11y'; | ||
const PANEL_ID = `${ADDON_ID}/addon-panel`; | ||
const EVENT_ID = `${ADDON_ID}/addon-event`; | ||
|
||
export { | ||
ADDON_ID, | ||
PANEL_ID, | ||
EVENT_ID, | ||
} |