Skip to content

Commit 06a348d

Browse files
committed
fix: updated readme
1 parent 983d2c8 commit 06a348d

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# 🦷 `react-odontogram`
44

5+
6+
57
[![npm version](https://img.shields.io/npm/v/react-odontogram?color=blue\&label=npm)](https://www.npmjs.com/package/react-odontogram)
68
[![npm downloads](https://img.shields.io/npm/dm/react-odontogram?color=green\&label=downloads)](https://www.npmjs.com/package/react-odontogram)
79
[![Storybook](https://img.shields.io/badge/Storybook-Demo-orange)](https://biomathcode.github.io/react-odontogram)
@@ -11,6 +13,14 @@ Built with SVG and React hooks — fully customizable, accessible, and designed
1113

1214
---
1315

16+
## 🖼️ Preview
17+
18+
| Light Mode | Dark Mode |
19+
| ------------------------------------------ | ---------------------------------------- |
20+
| ![Light preview](/assets/previewlight.png) | ![Dark preview](/assets/previewdark.png) |
21+
22+
---
23+
1424
## 🧩 Demo
1525

1626
👉 **Live Preview:** [https://biomathcode.github.io/react-odontogram](https://biomathcode.github.io/react-odontogram)

assets/previewdark.png

68.1 KB
Loading

assets/previewlight.png

69.4 KB
Loading

src/Odontogram.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export interface TeethProps {
2424
shadowPath: string;
2525
lineHighlightPath: string | string[];
2626
selected?: boolean;
27-
showTooltip?: boolean;
2827
onClick?: (name: string) => void;
2928
onKeyDown?: (e: React.KeyboardEvent<SVGGElement>, name: string) => void;
3029
children?: React.ReactNode;
@@ -55,10 +54,8 @@ export interface OdontogramProps {
5554
placement?: Placement;
5655
margin?: number;
5756
content?: React.ReactNode | ((payload?: ToothDetail) => React.ReactNode);
58-
5957
};
6058
showTooltip?: boolean;
61-
6259
}
6360

6461
export function convertFDIToNotation(

0 commit comments

Comments
 (0)