14 lines
313 B
JavaScript
14 lines
313 B
JavaScript
import Resume from './resume.js'
|
|
// @ts-expect-error `?inline` query
|
|
import css from './style.css?inline'
|
|
|
|
export const pdfRenderOptions = { mediaType: 'print' }
|
|
|
|
/**
|
|
* @param {import('./schema.d.ts').ResumeSchema} resume
|
|
* @returns {string}
|
|
*/
|
|
export const render = resume => {
|
|
return Resume(resume, css)
|
|
}
|