-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathindex.ts
More file actions
27 lines (25 loc) · 1 KB
/
index.ts
File metadata and controls
27 lines (25 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* @module fluent-react
* @overview
*
* `fluent-react` provides React bindings for Fluent. It takes advantage of
* React's Components system and the virtual DOM. Translations are exposed to
* components via the provider pattern.
*
* <LocalizationProvider l10n={…}>
* <Localized id="hello-world">
* <p>{'Hello, world!'}</p>
* </Localized>
* </LocalizationProvider>
*
* Consult the documentation of the `LocalizationProvider` and the `Localized`
* components for more information.
*/
export { ReactLocalization} from "./localization";
export { LocalizationProvider } from "./provider";
export { withLocalization, WithLocalizationProps } from "./with_localization";
export { Localized, LocalizedProps } from "./localized";
export { LocalizedElement, LocalizedElementProps } from "./localized_element";
export { LocalizedText, LocalizedTextProps } from "./localized_text";
export { MarkupParser } from "./markup";
export { useLocalization } from "./use_localization";