Skip to content

Commit

Permalink
Post-Merge Label and Switch conflict fix (#528)
Browse files Browse the repository at this point in the history
* Added missing ? to direction for conditional

* Updated pagination to new direction prop
  • Loading branch information
atomworks authored Dec 9, 2024
1 parent 68f1fae commit 2017ffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui-lib/src/Form/atoms/Label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const LabelText = styled.span<{ required?: boolean }>`
`}
`;

export const StyledLabel = styled.label<{ direction: TypeLabelDirection }>`
export const StyledLabel = styled.label<{ direction?: TypeLabelDirection }>`
font-family: var(--font-ui);
color: var(--grey-11);
font-size: 14px;
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-lib/src/Misc/molecules/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const Pagination: React.FC<IPagination> = (props) => {
<ItemsSelectWrapper width={selectWidth}>
<SelectField
disabled={selectDisabled}
label={{ htmlFor: selectId, text: itemsText, isSameRow: true }}
label={{ htmlFor: selectId, text: itemsText, direction: 'row' }}
defaultValue={itemsDefaultValue ? itemsDefaultValue : itemsOptions[0].value || 1}
changeCallback={onItemsSelectChange}
>
Expand Down

0 comments on commit 2017ffb

Please sign in to comment.