New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cebus/react-dialog

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cebus/react-dialog

A Dialog component that presents a surface that users can either complete tasks or obtain information from.

0.0.1
latest
Source
npm
Version published
Weekly downloads
4
300%
Maintainers
2
Weekly downloads
 
Created
Source

Dialog

The Dialog component presents a surface that users can either complete tasks or obtain information from.

Use

  • Install the @cebus/react-dialog component.

Using NPM

npm install @cebus/react-dialog

Using Yarn

yarn add @cebus/react-dialog
  • Install the @cebus/react-provider and our theme tokens from @cebus/react-theme

  • Set up the provider in your app:

import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
  • Integrate the Dialog component.
import { Provider } from '@cebus/react-provider'
import { web1ghtTheme } from '@cebus/react-theme'
import { Dialog } from '@cebus/react-dialog'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Dialog>...</Dialog>
    <Provider>
  )
}

API

To learn more about the Dialog API take a look at the Dialog Interface file.

FAQs

Package last updated on 14 Apr 2022

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