@@ -20,3 +20,20 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
+
+#if os(iOS)
+import UIKit
+typealias InterfaceLayoutDirection = UIUserInterfaceLayoutDirection
+#else
+import AppKit
+typealias InterfaceLayoutDirection = NSUserInterfaceLayoutDirection
+#endif
+/**
+ * Config that can be used to configure Snap
+ */
+public struct Config {
+ public static var interfaceLayoutDirection = InterfaceLayoutDirection.LeftToRight
+}