Skip to content

Commit

Permalink
fix: export address displayer types
Browse files Browse the repository at this point in the history
  • Loading branch information
tigranpetrossian authored and edgarkhanzadian committed Nov 8, 2024
1 parent 6891292 commit 70c81d7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion packages/ui/native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export { BlurView } from './src/components/blur-view/blur-view.native';
export { Chip } from './src/components/chip/chip.native';
export { HStack } from './src/components/box/hstack.native';
export { Stack } from './src/components/box/stack.native';
export { AddressDisplayer } from './src/components/address-displayer/address-displayer.native';
export {
AddressDisplayer,
type AddressDisplayerProps,
} from './src/components/address-displayer/address-displayer.native';
export {
AnimatedButton,
Button,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Text } from '../text/text.native';
import { AddressDisplayerBaseProps } from './address-displayer.types.shared';
import { groupByFour } from './address-displayer.utils.shared';

type AddressDisplayerProps = AddressDisplayerBaseProps & BoxProps;
export type AddressDisplayerProps = AddressDisplayerBaseProps & BoxProps;

export function AddressDisplayer({ address, ...props }: AddressDisplayerProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { isEven } from '@leather.io/utils';
import { AddressDisplayerBaseProps } from './address-displayer.types.shared';
import { groupByFour } from './address-displayer.utils.shared';

type AddressDisplayerProps = AddressDisplayerBaseProps & FlexProps;
export type AddressDisplayerProps = AddressDisplayerBaseProps & FlexProps;

export function AddressDisplayer({ address, ...props }: AddressDisplayerProps) {
return (
Expand Down
5 changes: 4 additions & 1 deletion packages/ui/src/exports.web.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
export { Accordion } from './components/accordion/accordion.web';
export { AddressDisplayer } from './components/address-displayer/address-displayer.web';
export {
AddressDisplayer,
type AddressDisplayerProps,
} from './components/address-displayer/address-displayer.web';
export * from './components/avatar';
export { BulletSeparator } from './components/bullet-separator/bullet-separator.web';
export { Button, type ButtonProps } from './components/button/button.web';
Expand Down

0 comments on commit 70c81d7

Please sign in to comment.