mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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(),
|
||
|
},
|
||
|
},
|
||
|
}
|