@pushchain/notice-client
v0.0.3
Published
Install and use the Notice Client or AppOfTheWeek as a React component.
Keywords
Readme
@pushchain/notice-client
Install and use the Notice Client or AppOfTheWeek as a React component.
Install
yarn add @pushchain/notice-client
# or
npm i @pushchain/notice-clientReact usage
import { PushNoticeClient } from '@pushchain/notice-client'
export function App() {
return <PushNoticeClient app="my-app" />
}import { AppOfTheWeek } from '@pushchain/notice-client';
const queryClient = new QueryClient();
export function App() {
return (
<AppOfTheWeek />
);
}Build and publish
- Build outputs to
dist/with ES and CJS formats, plus type declarations. - React/DOM/styled-components are peerDependencies.
yarn build
npm publish --access public