Skip to content

Instantly share code, notes, and snippets.

View khzouroussama's full-sized avatar
🎯
Focusing

Oussama khzouroussama

🎯
Focusing
View GitHub Profile
@khzouroussama
khzouroussama / react-native+0.68.2.patch
Created September 11, 2023 09:44 — forked from barthap/react-native+0.68.2.patch
RN 0.68 patch to have iOS 15 detents in <Modal> component
diff --git a/node_modules/react-native/Libraries/Modal/Modal.js b/node_modules/react-native/Libraries/Modal/Modal.js
index 9140a56..1a26c51 100644
--- a/node_modules/react-native/Libraries/Modal/Modal.js
+++ b/node_modules/react-native/Libraries/Modal/Modal.js
@@ -246,6 +246,7 @@ class Modal extends React.Component<Props> {
return (
<RCTModalHostView
+ modalSheetSize={this.props.modalSheetSize}
animationType={animationType}
@khzouroussama
khzouroussama / ContentView.swift
Created July 31, 2023 10:13 — forked from dkun7944/ContentView.swift
AirDrop iOS 17 Swift.Shader Animation
//
// ContentView.swift
// Airdrop Demo
//
// Created by Daniel Kuntz on 7/30/23.
//
import SwiftUI
struct ContentView: View {