Skip to content

Commit

Permalink
Merge pull request #103 from 10play/fix-icon
Browse files Browse the repository at this point in the history
fix: iconActive, iconDisabled
  • Loading branch information
17Amir17 committed Apr 25, 2024
2 parents 997c812 + de12c4c commit b6b0c39
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/RichText/Toolbar/Toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,15 @@ export function Toolbar({
>
<Image
source={image(args)}
style={[editor.theme.toolbar.icon]}
style={[
editor.theme.toolbar.icon,
active(args)
? editor.theme.toolbar.iconActive
: undefined,
disabled(args)
? editor.theme.toolbar.iconDisabled
: undefined,
]}
resizeMode="contain"
/>
</View>
Expand Down

0 comments on commit b6b0c39

Please sign in to comment.