# Membership  Card

## Components Visuals&#x20;

<figure><img src="/files/tNjM6iG7aKwpXJV4y8el" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
To unlock early access to the component                                                           [**Get Access**](https://bijfwfnqtsj.typeform.com/to/eUXDpbuh)
{% endhint %}

### Demo

{% embed url="<https://www.loom.com/share/128d51b020ad49f696064b808576d358?sid=ef37be85-8c39-4337-af32-dfe3ec1aa03d>" %}

In this video, you'll learn:

1. How to use the component.
2. Customization options for the MemberShipCard  component.

## Installation

To install the `Quest react-native-native-sdk` into your project, follow these steps:

* Open your terminal/command prompt.
* Navigate to your project's root directory using the `cd` command if you're not already there.
* Run the following command to install the `quest-sdk` package using npm:

```jsx
npm install @questlabs/react-native-sdk
```

> This command will download and install the package and its dependencies into your project.

{% hint style="info" %}
Make sure your project has npm and Node.js installed, and that you have the necessary permissions to install packages in your project directory.
{% endhint %}

***

## Props of Login Component

The MemberShipCard component accepts the following props

<table><thead><tr><th width="218">Props Name</th><th width="122">Type</th><th width="118">Required </th><th>Details</th></tr></thead><tbody><tr><td>questTitle</td><td>string</td><td>optional</td><td>The Quest Title Text.</td></tr><tr><td>questTitleX</td><td>number</td><td>optional</td><td>The Quest Title Text X.</td></tr><tr><td>questTitleY</td><td>number</td><td>optional</td><td>The Quest Title Text Y.</td></tr><tr><td>questYear</td><td>number</td><td>optional</td><td>The Quest Year Text.</td></tr><tr><td>questYearX</td><td>number</td><td>optional</td><td>The Quest Year Text X.</td></tr><tr><td>questYearY</td><td>number</td><td>optional</td><td>The Quest Year Text Y.</td></tr><tr><td>wellcomeTitle</td><td>string</td><td>optional</td><td>The Wellcome Title Text.</td></tr><tr><td>wellcomeTitleX</td><td>number</td><td>optional</td><td>The Wellcome Title Text X.</td></tr><tr><td>wellcomeTitleY</td><td>number</td><td>optional</td><td>The Wellcome Title Text Y.</td></tr><tr><td>wellcomeDetails</td><td>string</td><td>optional</td><td>The Wellcome Detail Text.</td></tr><tr><td>wellcomeDetailsX</td><td>number</td><td>optional</td><td>The Wellcome Detail Text X.</td></tr><tr><td>wellcomeDetailsY</td><td>number</td><td>optional</td><td>The Wellcome Detail Text Y.</td></tr><tr><td>expMonth</td><td>number</td><td>required</td><td>The Expire Month.</td></tr><tr><td>expYear</td><td>number</td><td>required</td><td>The Expire Year.</td></tr><tr><td>expX</td><td>number</td><td>optional</td><td>The Expire X.</td></tr><tr><td>expY</td><td>number</td><td>optional</td><td>The Expire Y.</td></tr></tbody></table>

## Usage

To integrate the MemberShipCard component into your React application, follow these steps

* **Import the MemberShipCard** **Component**: Import the Tutorial component from the `@questlabs/react--native-sdk` package.

```jsx
import { MemberShipCard } from "@questlabs/react-native-sdk";
```

## Example Usage

Here's an example of how to use the MemberShipCard component within your React Native application.

```typescript
import {  SafeAreaView, StyleSheet } from "react-native";
import React, { useState } from "react";
import {
  MemberShipCard,
} from "@questlabs/react-native-sdk/src/components";

export default function App() {
  return (
    <SafeAreaView style={styles.container}>
      <MemberShipCard />
    </SafeAreaView>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: "white",
    marginTop: 40,
    justifyContent: "center",
    alignItems: "center",
  },
});
```

{% hint style="info" %}
The above example not uses all the props.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.questera.ai/questera-ai-sdks/react-native-sdk-components/miscellaneous/membership-card.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
