northants-design-system
Version:
Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.
23 lines (22 loc) • 424 B
TypeScript
export interface FileDownloadProps {
/**
* The title of the file, not including the file extension
**/
title: string;
/**
* The type of file
**/
type: string;
/**
* A URL to download the file
**/
url: string;
/**
* The size of the file in KB or MB
**/
size: string;
/**
* Should the file be marked as archived
*/
archived: boolean;
}