Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

NativeWorkspaceColumns.tsx

12 lines540 Bytes

1import { Platform } from "react-native";
2export const NATIVE_WORKSPACE_COLUMNS_SUPPORTED = Platform.OS === "ios" && Platform.isPad;
3​
4// oxlint-disable-next-line t3code/no-hookless-use-function -- Non-iOS stub of a hook; the .ios.tsx file calls hooks.
5export function useNativeWorkspaceColumnsReady() {
6 return true;
7}
8​
9// oxlint-disable-next-line t3code/no-hookless-use-function -- Non-iOS stub of a hook; the .ios.tsx file calls hooks.
10export function useNativeWorkspaceColumnsSupported() {
11 return NATIVE_WORKSPACE_COLUMNS_SUPPORTED;