Socket
Socket
Sign inDemoInstall

@shopify/admin-ui-extensions-react

Package Overview
Dependencies
17
Maintainers
19
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @shopify/admin-ui-extensions-react

Admin UI Extensions React is built on top of Admin UI Extensions. It allows a developer to write React-style scripts.


Version published
Weekly downloads
637
increased by17.31%
Maintainers
19
Install size
3.55 MB
Created
Weekly downloads
 

Readme

Source

Admin UI Extensions React

Admin UI Extensions React is built on top of Admin UI Extensions. It allows a developer to write React-style scripts.

Usage

With the React approach, adding a button looks like the following:

import React from 'react';
import {extend, render, Button} from '@shopify/admin-ui-extensions-react';

function App() {
  return (
    <Button
      title="Press Me"
      primary
      onPress={() => console.log('Pressed')}
      disabled={false}
    />
  );
}

extend(
  'Playground',
  render(() => <App />),
);

You can find more component usage examples alongside each component in packages/admin-ui-extensions-react/src/components

FAQs

Last updated on 27 Jan 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc