diff --git a/web/cashtab-components/README.md b/web/cashtab-components/README.md --- a/web/cashtab-components/README.md +++ b/web/cashtab-components/README.md @@ -8,7 +8,7 @@ Some features from `badger-components-react` are not yet fully supported. Upcoming features: -- [ ] SLPA transactions +- [ ] eToken invoices - [ ] OP Return text - [ ] successFn and failureFn props - [ ] Bip70-style invoices @@ -68,17 +68,17 @@ - {/* Price in SLP tokens - NAKAMOTO in this example */} + {/* Price in eTokens - NAKAMOTO in this example */} diff --git a/web/cashtab-components/src/components/CashtabBadge/CashtabBadge.stories.tsx b/web/cashtab-components/src/components/CashtabBadge/CashtabBadge.stories.tsx --- a/web/cashtab-components/src/components/CashtabBadge/CashtabBadge.stories.tsx +++ b/web/cashtab-components/src/components/CashtabBadge/CashtabBadge.stories.tsx @@ -63,8 +63,8 @@ XEC.storyName = `price in ${Ticker.coinSymbol}`; -export const SLPA = Template.bind({}); -SLPA.args = { +export const eToken = Template.bind({}); +eToken.args = { coinType: Ticker.tokenTicker, tokenId: tokenIdOptions[0], amount: 100, @@ -72,7 +72,7 @@ showQR: true, }; -SLPA.storyName = `price in ${Ticker.tokenTicker}`; +eToken.storyName = `price in ${Ticker.tokenTicker}`; export const StepControlled = Template.bind({}); StepControlled.args = { diff --git a/web/cashtab-components/src/components/CashtabButton/CashtabButton.stories.tsx b/web/cashtab-components/src/components/CashtabButton/CashtabButton.stories.tsx --- a/web/cashtab-components/src/components/CashtabButton/CashtabButton.stories.tsx +++ b/web/cashtab-components/src/components/CashtabButton/CashtabButton.stories.tsx @@ -63,8 +63,8 @@ XEC.storyName = `price in ${Ticker.coinSymbol}`; -export const SLPA = Template.bind({}); -SLPA.args = { +export const eToken = Template.bind({}); +eToken.args = { coinType: Ticker.tokenTicker, tokenId: tokenIdOptions[0], amount: 100, @@ -72,7 +72,7 @@ showQR: true, }; -SLPA.storyName = `price in ${Ticker.tokenTicker}`; +eToken.storyName = `price in ${Ticker.tokenTicker}`; export const StepControlled = Template.bind({}); StepControlled.args = { diff --git a/web/cashtab-components/src/components/PriceDisplay/README.md b/web/cashtab-components/src/components/PriceDisplay/README.md --- a/web/cashtab-components/src/components/PriceDisplay/README.md +++ b/web/cashtab-components/src/components/PriceDisplay/README.md @@ -1,6 +1,6 @@ # PriceDisplay -Show a price display item in fiat, XEC, or SLPA. +Show a price display item in fiat, XEC, or eToken. For open BIP70 invoices, get price and currency info from the invoice.