mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 19:53:49 +00:00
27 lines
497 B
JavaScript
27 lines
497 B
JavaScript
|
import React from 'react'
|
||
|
import { LinkedFileInfo } from '../../modules/tpr-webmodule/frontend/js/components/linked-file-info'
|
||
|
|
||
|
export const MendeleyLinkedFile = args => {
|
||
|
return <LinkedFileInfo {...args} />
|
||
|
}
|
||
|
|
||
|
MendeleyLinkedFile.args = {
|
||
|
file: {
|
||
|
linkedFileData: {
|
||
|
provider: 'mendeley',
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
|
||
|
export default {
|
||
|
title: 'LinkedFileInfo',
|
||
|
component: LinkedFileInfo,
|
||
|
args: {
|
||
|
file: {
|
||
|
id: 'file-id',
|
||
|
name: 'file.tex',
|
||
|
created: new Date(),
|
||
|
},
|
||
|
},
|
||
|
}
|