-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added introduction,Shko Online logo & upgrade storybook
- Loading branch information
1 parent
614b2f1
commit db74f01
Showing
10 changed files
with
2,714 additions
and
2,458 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { AddonStore, addons } from '@storybook/addons'; | ||
|
||
type Addon_Config<T extends AddonStore['setConfig']> = T extends (value: infer K) => void ? K : never; | ||
type ThemeVars = Addon_Config<AddonStore['setConfig']>['theme']; | ||
|
||
addons.setConfig({ | ||
theme: { | ||
brandTitle: "AlbanianXrm's StyledSwitch", | ||
brandUrl: 'https://github.com/albanian-xrm/PCF.StyledSwitch', | ||
brandImage: './Shko Online 92x32.svg', | ||
} as ThemeVars, | ||
showRoots: false, | ||
}); |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.