-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from fcollonval/fcollonval/issue98
Add dashboard icon
- Loading branch information
Showing
4 changed files
with
33 additions
and
3 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,9 @@ | ||
import { LabIcon } from '@jupyterlab/ui-components'; | ||
|
||
// icon svg import statements | ||
import pullRequest from '../style/icons/dashboard.svg'; | ||
|
||
export const dashboardIcon = new LabIcon({ | ||
name: '@voila-dashboards/jupyterlab-gridstack:icon-dashboard', | ||
svgstr: pullRequest | ||
}); |
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 @@ | ||
// Copyright (c) Jupyter Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||
|
||
// including this file in a package allows for the use of import statements | ||
// with svg files. Example: `import xSvg from 'path/xSvg.svg'` | ||
|
||
// for use with raw-loader in Webpack. | ||
// The svg will be imported as a raw string | ||
|
||
declare module '*.svg' { | ||
const value: string; | ||
export default value; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.