wip(sde): Working on file list
This commit is contained in:
parent
9929aed51a
commit
c65c5876a3
199 changed files with 1065 additions and 196 deletions
|
@ -1,5 +1,5 @@
|
|||
// __SDEFILE__ - This file is a dependency for the stand-alone environment
|
||||
// Dependencies
|
||||
import { flagTypes } from 'plugins/plugin-annotations/src/flag.mjs'
|
||||
import mustache from 'mustache'
|
||||
import { nsMerge } from 'shared/utils.mjs'
|
||||
// Hooks
|
||||
|
@ -31,6 +31,9 @@ const flagIcons = {
|
|||
options: OptionsIcon,
|
||||
}
|
||||
|
||||
// This is also the order in which they will be displayed
|
||||
export const flagTypes = ['error', 'warn', 'note', 'info', 'tip', 'fixme']
|
||||
|
||||
export const Flag = ({ data, t, handleUpdate }) => {
|
||||
const BtnIcon = data.suggest?.icon ? flagIcons[data.suggest.icon] : false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue