You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ntp-logo-react

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ntp-logo-react

A customizable React component for displaying the NETOPIA Payments logo with dynamic color and version options.

1.0.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

A customizable React component for displaying the NETOPIA Payments logo with dynamic color and version options.

Installation

To install the ntp-logo-react package, use npm or yarn:

npm install ntp-logo-react

or

yarn add ntp-logo-react

Usage

import React from "react";
import NTPLogo from "ntp-logo-react";

function App() {
  return (
    <div>
      <h1>Welcome to My App</h1>
      <NTPLogo color="#ffffff" version="vertical" secret="your-secret-key" />
    </div>
  );
}

export default App;

Props

The NTPLogo component accepts the following props:

  • color (optional): The color of the background where the logo will be placed, can be HEX or RGB. Defaults to #ffffff.
  • version (optional): Logo version, either 'vertical' or 'horizontal'. Default is 'vertical'.
  • secret (required): Your secret key for the logo. Log in into your NETOPIA Payments account to obtain the secret key. If not provided, an error message will be displayed.

License

This project is licensed under the MIT License - see the [LICENSE] file for details.

Author

Created by NETOPIA

Keywords

netopia

FAQs

Package last updated on 28 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts