Skip to content

Commit 942497f

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/src/examples/BasicStylesEditor.tsx

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

53-
const renderButton = (button: (typeof inlineButtons)[number]) => (
53+
const renderButton = (
54+
button: (typeof inlineButtons)[number] | (typeof paragraphButtons)[number]
55+
) => (
5456
<Pressable
5557
key={button.label}
5658
disabled={button.state?.isBlocking}

0 commit comments

Comments
 (0)