Skip to content

Commit e608be9

Browse files
authored
fix RTL setup (#276)
1 parent 110677a commit e608be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/plotly_examples/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const App: React.FC = () => {
5454

5555
return (
5656
<div>
57-
<FluentProvider theme={value === "Light" ? webLightTheme : webDarkTheme} targetDocument={document}>
57+
<FluentProvider theme={value === "Light" ? webLightTheme : webDarkTheme} targetDocument={document} dir={isRTL ? 'rtl' : 'ltr'}>
5858
<PortalCompatProvider>
5959
<Subtitle2> Theme:</Subtitle2>&nbsp;&nbsp;
6060
<Dropdown

0 commit comments

Comments
 (0)