# Schema

### `schema({'my schema object'})`

## How to use:

```jsx
const my_schema = Pleex.schema({
    key: type
});
```

## Arguments:

| parameter     | required | types  |
| ------------- | -------- | ------ |
| schema object | yes      | object |

## Example:

```jsx
import React,{useEffect} from 'react';
import {Text} from 'react-native';
import {Pleex} from 'pleex';

const App = () => {

  const my_schema = Pleex.schema({
    name: String,
    age: Number,
    logged: Boolean,
  });

  return (
    <>
      <Text>Try Schemas</Text>
    </>
  );

};

export default App;
```
