Skip to content

Commit 24db158

Browse files
hejsztynxCopilot
andauthored
refactor: basic styles editor types clarity
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 756b988 commit 24db158

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/src/examples/BasicStylesEditor.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ export default function App() {
5050
},
5151
];
5252

53-
const renderButton = (button: (typeof inlineButtons)[number]) => (
53+
const renderButton = (
54+
button:
55+
| (typeof inlineButtons)[number]
56+
| (typeof paragraphButtons)[number]
57+
) => (
5458
<Pressable
5559
key={button.label}
5660
disabled={button.state?.isBlocking}

0 commit comments

Comments
 (0)