Skip to content

Commit

Permalink
chore: fix breaking links
Browse files Browse the repository at this point in the history
  • Loading branch information
pereag committed May 7, 2024
1 parent e366146 commit 5943c7c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions docs/haring-react/components/action-bar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { GitHubLogo } from '../../../src/icons/GitHubLogo';
extendsInfo={[
{
label: 'ActionList',
link: './action-row-overflow',
link: './action-list',
logo: <GitHubLogo />,
},
]}
Expand All @@ -31,9 +31,9 @@ import { GitHubLogo } from '../../../src/icons/GitHubLogo';

## Props

ActionBar takes a `<Data>` generic type that extends `Record<string, unknown>`, to be used by [ActionList](./action-row-overflow).
ActionBar takes a `<Data>` generic type that extends `Record<string, unknown>`, to be used by [ActionList](./action-list).

| Name | Type | Default | Description |
| --------------------------------- | -------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| selectedElementsLabel <Required/> | `(selectedElements: number) => string` | ``(selectedElements: number) => `${selectedElements} file(s) selected`` | Function used to generate the string that displays how many elements are currently selected, it gives the current number of elements in the `selectedElements` array as a parameter |
| ... | - | - | extends [`ActionList props`](./action-row-overflow#props) |
| ... | - | - | extends [`ActionList props`](./action-list#props) |
3 changes: 1 addition & 2 deletions docs/haring-react/components/filter-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
storybookInfo="3-custom-components-filterlist--docs"
>
Renders a list of filters with text inputs and a manage filters button which
displays the component
[SearchableList](../components/searchable-checkbox-list)
displays the component [SearchableList](../components/searchable-list)
</Description>

## Storybook Docs
Expand Down
16 changes: 8 additions & 8 deletions docs/haring-react/components/language-menu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { GitHubLogo } from '../../../src/icons/GitHubLogo';
extendsInfo={[
{
label: 'ButtonList',
link: './button-list-or-dropdown',
link: './button-list',
logo: <GitHubLogo />,
},
]}
Expand All @@ -20,11 +20,11 @@ import { GitHubLogo } from '../../../src/icons/GitHubLogo';
}}
storybookInfo="3-custom-components-languagemenu--docs"
>
It inherits from the [ButtonList](./button-list-or-dropdown) component. It
displays a list of language buttons with or without flags in a 4x3 or 1x1
format. When the number of buttons exceeds a specified threshold (controlled
by the maxButtonItems property), the component dynamically transforms into a
dropdown menu.
It inherits from the [ButtonList](./button-list) component. It displays a list
of language buttons with or without flags in a 4x3 or 1x1 format. When the
number of buttons exceeds a specified threshold (controlled by the
maxButtonItems property), the component dynamically transforms into a dropdown
menu.
</Description>

## Storybook Docs
Expand All @@ -33,13 +33,13 @@ import { GitHubLogo } from '../../../src/icons/GitHubLogo';

## Props

LanguageMenu takes a `<Data>` generic type that extends `Record<string, unknown>`, to be used by [ActionList](./action-row-overflow).
LanguageMenu takes a `<Data>` generic type that extends `Record<string, unknown>`, to be used by [ActionList](./action-list).

| Name | Type | Default | Description |
| --------------------- | --------- | ------- | -------------------------------------------------------------------------------------------- |
| languages <Required/> | `ILang[]` | - | Is the array of langs of type `ILang` displayed into the component |
| squareFormat | `boolean` | `false` | Displays the default 4x3 format, If this prop is set to true, it shows flags in a 1x1 format |
| ... | | - | Extend props from [ButtonList](./button-list-or-dropdown) component |
| ... | | - | Extend props from [ButtonList](./button-list) component |

## `ILang`

Expand Down

0 comments on commit 5943c7c

Please sign in to comment.