feat/preview-files #13
Merged
Vitalik
merged 3 commits from feat/preview-files
into master
9 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'feat/preview-files'
Deleting a branch is permanent. It CANNOT be undone. Continue?
"deprecated-react-native-prop-types": "^4.1.0",
"events": "^3.3.0",
"ffmpeg-kit-react-native": "^5.1.0",
"i": "^0.3.7",
видалити
видалив
"lodash": "^4.17.21",
"mime": "^3.0.0",
"moment": "^2.29.4",
"npm": "^10.4.0",
видалити
видалив
"@react-navigation/native-stack": "^6.9.12",
"@react-navigation/stack": "^6.3.16",
"@tomlangan/react-native-sound-level": "^1.2.1",
"@types/react-native-pdf-lib": "^0.2.3",
в devDepends
видалив
const previewFile = (url: string) => {
try {
function getUrlExtension(link: string) {
винести
виніс в fs helper
uri: string
}
export const WebViewWrapper: FC<IProps> = ({ uri }) => {
це не елемент, краще якись layout
видалив цей компонент він вже не потрібний
const persent = (height / originWidth) * 100
return (persent / 100) * width
}
// const calcHeight = (height: number, originWidth: number) => {
видалити
видалив
3f734beaf8
into master 9 months agoReviewers
3f734beaf8
.