Skip to content

Commit 22a646e

Browse files
committed
fix some crashes in documentation
1 parent 4f68ff4 commit 22a646e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/pages/reference/components/icon.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,18 @@ export default function App() {
1616
<icon>person</icon>
1717
<icon>add</icon>
1818
<icon>done_all</icon>
19-
<icon style={{ fontSize: 32 }}>language</icon>
20-
<icon style={{ fontSize: 96 }}>
19+
<icon style={{ fontSize: 48 }}>language</icon>
20+
<icon style={{ fontSize: 96, color: 'red' }}>
2121
keyboard_arrow_down
2222
</icon>
2323
</view>;
2424
};
2525
```
2626

27+
```css style.css
28+
icon {
29+
font-size: 32px;
30+
}
31+
```
32+
2733
</Sandpack>

src/pages/reference/material/tooltip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ layout: API
66
<Sandpack>
77

88
```js App.js active
9-
import { useDataTooltip } from '@reactunity/material';
9+
import { useDataTooltip, Button } from '@reactunity/material';
1010
import '@reactunity/material/styles';
1111

1212
export default function App() {

0 commit comments

Comments
 (0)