This repo contains the ONLYOFFICE React component which integrates into React projects.
The onlyoffice-advent-announce component displays the current banner from the ONLYOFFICE site, providing users with important announcements and updates.
Add onlyoffice-advent-announce to your project by executing npm install onlyoffice-advent-announce
or yarn add onlyoffice-advent-announce
.
Here's an example of basic usage:
import React from "react";
import { OOAdventAnnounce } from "onlyoffice-advent-announce";
function MyApp() {
return (
<OOAdventAnnounce />
);
}
If you want to use default onlyoffice-advent-announce styling to build upon it, you can import onlyoffice-advent-announce's styles by using:
import "onlyoffice-advent-announce/dist/oo-advent-announce.css";
Name | Description | Default |
---|---|---|
locale |
Locale that should be used. Supported values: "en" , "fr" , "de" , "es" , "pt" , "pt-br" , "it" , "cs" , "ja" , "zh" , "zh-hans" , "el" , "hi" , "ar" , "sr" , "hy" , "ru" . |
"en" |
npm run build-storybook
npm run storybook
In case you have any issues, questions, or suggestions for the onlyoffice-advent-announce component, please refer to the Issues section.
Official project website: www.onlyoffice.com.
Support forum: forum.onlyoffice.com.