Skip to content

Commit

Permalink
Support for native & web styles
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Aug 24, 2023
1 parent f889d63 commit 91571ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/styles/italic/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
type ItalicStyles = 'normal' | 'italic';
import {CSSProperties} from 'react';
import {TextStyle} from 'react-native';

type ItalicStyles = (TextStyle | CSSProperties)['fontStyle'];

export default ItalicStyles;

0 comments on commit 91571ea

Please sign in to comment.