Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga authored Dec 2, 2024
1 parent 5ae95f5 commit 864f816
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/FileList/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- @license CC0-1.0 -->

# React FileList component
# React File List component

[FileList documentation](../../../css/src/components/file-list/README.md)
[File List documentation](../../../css/src/components/file-list/README.md)
6 changes: 3 additions & 3 deletions packages/react/src/common/formatFileSize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
*/

/**
*
* @param fileType
* @returns Human readable file size
* @param fileSize The size of the file in bytes.
* @param precision The number of significant digits in the output.
* @returns A human readable file size
*/
export const formatFileSize = (fileSize: number, precision = 3) => {
const UNITS = ['bytes', 'kB', 'MB', 'GB']
Expand Down

0 comments on commit 864f816

Please sign in to comment.