mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
🛠️: use Citation type in CitationItem
This commit is contained in:
@@ -4,24 +4,12 @@ import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons";
|
||||
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
|
||||
import { computed } from "vue";
|
||||
|
||||
import { Citation } from ".";
|
||||
|
||||
library.add(faExternalLinkAlt);
|
||||
|
||||
interface Props {
|
||||
citation: {
|
||||
cite: {
|
||||
data: {
|
||||
URL: string;
|
||||
}[];
|
||||
format: (
|
||||
format: string,
|
||||
options: {
|
||||
format: string;
|
||||
template: string;
|
||||
lang: string;
|
||||
}
|
||||
) => string;
|
||||
};
|
||||
};
|
||||
citation: Citation;
|
||||
outputFormat?: string;
|
||||
prefix?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user