Skip to content

Commit

Permalink
Merge pull request #136 from atls/feature/custom-theme
Browse files Browse the repository at this point in the history
chore/trigger-release
  • Loading branch information
Nelfimov committed Nov 30, 2023
2 parents 71379d7 + 96ac83e commit 84a773e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .yarn/versions/67c955b7.yml

This file was deleted.

8 changes: 6 additions & 2 deletions packages/payment-widget/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
export { Widget, InputWrapper, ButtonWrapper } from './ui'
export {
Widget,
ButtonWrapper,
InputWrapper,
} from './ui'
export {
Settings,
Styles,
AdditionalField,
Receipt,
ReceiptItem,
DirectionFields,
} from './interfaces'
} from './interfaces'
export * from './enums'
2 changes: 1 addition & 1 deletion packages/payment-widget/src/ui/widget.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const Widget = ({
disabled,
children,
}: WidgetProps) => {
const locale = settings.language ?? LanguagesType.RUSSIAN
const childrenArray = Children.toArray(children)
const locale = settings.language ?? LanguagesType.RUSSIAN
const customFieldsProps = useMemo(
() => ({
existAmount: !!amount,
Expand Down

0 comments on commit 84a773e

Please sign in to comment.