Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storybook] add stories for more components (letters I - L) #7589

Merged
merged 10 commits into from
Mar 21, 2024
Prev Previous commit
Next Next commit
PR feedback: fix typos
  • Loading branch information
mgadewoll committed Mar 20, 2024
commit 249abb5b3888a095389181a118478b1bbf1198b4
4 changes: 2 additions & 2 deletions src/components/i18n/i18n_number.stories.tsx
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ export const SingleValue: Story = {
},
render: ({ ...args }: EuiI18nNumberProps) => (
mgadewoll marked this conversation as resolved.
Show resolved Hide resolved
<EuiText>
<span>Formated number:</span> <EuiI18nNumber {...args} />
<span>Formatted number:</span> <EuiI18nNumber {...args} />
</EuiText>
),
};
@@ -41,7 +41,7 @@ export const MultipleValues: Story = {
<>
{values.map((value) => (
<EuiText>
<span>Formated number: {value}</span>
<span>Formatted number: {value}</span>
</EuiText>
))}
</>
2 changes: 1 addition & 1 deletion src/components/link/link.stories.tsx
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ const meta: Meta<EuiLinkProps> = {
title: 'Navigation/EuiLink',
component: EuiLink,
argTypes: {
// setting up nativ HTML attributes to ensure they show up as control
// setting up native HTML attributes to ensure they show up as control
target: { control: { type: 'text' } },
rel: { control: { type: 'text' } },
disabled: { control: { type: 'boolean' } },