Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (37 sloc) 948 Bytes
import React from "react";
import { Localized } from "fluent-react";
const App: React.FunctionComponent = () => (
<Localized id="hello">
<h1>Hello World!</h1>
button={<button type="submit" />}
special={<strong />}
Apply <strong>now</strong>!
<Localized id="description1" special={<strong />}>
{`A long awaited <strong>World-famous</strong> thing debuts in Japan.`}
<br />
<Localized id="description2" $user="Bob" $gender="male">
<>Special offer for you.</>
<Localized id="description3" $amount={2} $goodsName="Foo" $price={498}>
export default App;
You can’t perform that action at this time.