Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/eslint/rules/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const reactConfig = defineConfig([
'error',
{
validateNested: true,
rule: '(^(is|has|with|show)[A-Z]([A-Za-z0-9]?)+)|disabled|loading|paragraph|base|controlled',
rule: '(^(is|has|with|show)[A-Z]([A-Za-z0-9]?)+)|disabled|loading|paragraph|base|controlled|strikethrough',
},
],

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/MenuItem/Template/MenuItemTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const MenuItemTemplate = memo<MenuItemTemplateProps>(
/>
) : null}
<View style={styles.textContainer}>
<Body base>{title}</Body>
<Body size='base'>{title}</Body>
{caption ? (
<Caption color='secondary'>{caption}</Caption>
) : null}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/Message/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const Message = memo<MessageProps>(
<View style={messageStyles.titleRow}>
{LeftContent}
<View style={messageStyles.titleTextContainer}>
<Body base testID={TestId.Title} weight='bold'>
<Body size='base' testID={TestId.Title} weight='bold'>
{title}
</Body>
{caption ? (
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/components/Typography/Anchor.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const meta: Meta<typeof Anchor> = {
RightIcon: undefined,
},
argTypes: {
base: { control: 'boolean' },
LeftIcon: { control: 'radio', options: Object.keys(Icons), mapping: Icons },
RightIcon: {
control: 'radio',
Expand All @@ -39,7 +40,7 @@ const AnchorStory: Story = {
<View style={{ gap: 10 }}>
<Anchor {...args} />

<Body base>
<Body size='base'>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus
adipisci ducimus est fuga hic iusto laborum minima modi, non reiciendis
repellat repudiandae{' '}
Expand Down
Loading
Loading