Skip to content

Commit

Permalink
fix: fix typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
tjuanitas committed Jul 5, 2023
1 parent 744e406 commit 8c0e298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/i18n/FormattedCompMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class FormattedCompMessage extends React.Component<Props, State> {
// the reviewer finds and submit translation tickets to Jira and/or fixed
// translations directly back to Mojito.
// 3. It can be used by the planned "text experiment framework" to identify
// whole strings in the UI that can be A/B tested in various langauges without
// whole strings in the UI that can be A/B tested in various languages without
// publishing new versions of the code.
return React.createElement(
tagName,
Expand Down
2 changes: 1 addition & 1 deletion src/elements/content-preview/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Demo ([Documentation](https://developer.box.com/docs/box-content-preview))
***IMPORTANT:*** The Content Preview UI Element works differently from the other UI Elements above. The React component is a wrapper for the [Preview library](https://developer.box.com/docs/box-content-preview). It also requires a langauge (defaults to en-US) to be passed in since the preview library bundles are localized. Providing a language will automatically pull in the corresponding preview.js bundle and dynamically load it by adding a script tag. It will also dynamically load the additional required preview.css file by adding a link tag.
***IMPORTANT:*** The Content Preview UI Element works differently from the other UI Elements above. The React component is a wrapper for the [Preview library](https://developer.box.com/docs/box-content-preview). It also requires a language (defaults to en-US) to be passed in since the preview library bundles are localized. Providing a language will automatically pull in the corresponding preview.js bundle and dynamically load it by adding a script tag. It will also dynamically load the additional required preview.css file by adding a link tag.

```jsx
var ContentPreview = require('./ContentPreview').default;
Expand Down

0 comments on commit 8c0e298

Please sign in to comment.