Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/web3/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ declare module '*.svg' {

export default ReactComponent;
}

declare module '*.png' {
const url: string;
export default url;
}
8 changes: 8 additions & 0 deletions packages/web3/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ export * from './nft-card';
export * from './crypto-price';
export * from './crypto-input';
export * from './token-select';
export {
default as SwapToken,
type SwapInputProps,
type SwapInputRef,
type SwapTokenConfig,
type SwapTokenToken,
} from './swap-token';
export { FundFlowDirection } from './swap-token/type';
export * from './hooks';
export * from '@ant-design/web3-common';
// export Web3ConfigProvider in ./web3-config-provider for replace the one in @ant-design/web3-common
Expand Down
Loading