Skip to content

Commit

Permalink
increase type accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Aug 24, 2023
1 parent ef2ff20 commit e21f6ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/styles/utilities/textUnderline/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import {CSSProperties} from 'react';

type TextUnderlineStyles = Record<'textUnderlinePositionUnder' | 'textDecorationSkipInkNone', Partial<Pick<CSSProperties, 'textUnderlinePosition' | 'textDecorationSkipInk'>>>;
type TextUnderlineStyles = {
textUnderlinePositionUnder: Pick<CSSProperties, 'textUnderlinePosition'>;
textDecorationSkipInkNone: Pick<CSSProperties, 'textDecorationSkipInk'>;
};

export default TextUnderlineStyles;

0 comments on commit e21f6ad

Please sign in to comment.