go to your models folder
create a new models file (copy the format from the base Task.js file)
add the model's class name to the schema: []
e.g. inside the index.js file in the models folder....
import { createRealmContext } from "@realm/react";
import { Task } from "./Task";
import { Test } from "./Test";
export const TaskRealmContext = createRealmContext({
schema: [Task, Test],
});
The Test part is what was added in on top of the base code from the template.
Then you can add
import { Test } from "./models/Test";
to your App.js(or whatever name your app file goes by).
Then you can access your new model using realm.create("NewModelName") or whatever