Skip to content

Commit

Permalink
added icon: string | {name: string, svgstr: string} field
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Jan 23, 2020
1 parent 49b3ffb commit 30d390a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/rendermime-interfaces/src/index.ts
Expand Up @@ -146,6 +146,13 @@ export namespace IRenderMime {
*/
readonly pattern?: string;

/**
* The icon for the file type. Can either be a string containing the name
* of an existing icon, or an object with {name, svgstr} fields, where
* svgstr is a string containing the raw contents of an svg file.
*/
readonly icon?: string | { name: string; svgstr: string };

/**
* The icon class name for the file type.
*/
Expand Down

0 comments on commit 30d390a

Please sign in to comment.