Skip to content

Commit 6b7b239

Browse files
authored
Ignore modifiers that not relevant to icon (#2180)
1 parent 8375855 commit 6b7b239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/icon/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Icon.displayName = 'Icon';
6565
Icon.defaultProps = {
6666
assetGroup: 'icons'
6767
};
68-
export default asBaseComponent<IconProps, typeof Icon>(Icon);
68+
export default asBaseComponent<IconProps, typeof Icon>(Icon, {modifiersOptions: {margins: true}});
6969

7070
const styles = StyleSheet.create({
7171
rtlFlipped: {

0 commit comments

Comments
 (0)