playbook_ui_docs 14.9.0.pre.rc.13 → 14.9.0.pre.rc.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0ca9a1f03aeda74d1aa9e6c67fe9211a3afee203f63d6ec938d2f54e45aa733
4
- data.tar.gz: e406a8127b4e0a104a98f999ab839dacd5b588dce2fa149c420f90207eadd945
3
+ metadata.gz: d4af7fc1d998b3c81d72dc077fc7403557a6b231bbd81bac71a095c7be370b06
4
+ data.tar.gz: de1c99aea3902d038520c784cd9e2c95be08e93b4777cd2ed76bd49fe39550c6
5
5
  SHA512:
6
- metadata.gz: 4f81bf349b1ea54c6a11efae3fe4337a1262e6d79963e2ef87756c9b5662c1a9710a070f504cdc0d864c5488acef0223916d1ad798fd82427b0494fa58254910
7
- data.tar.gz: 3a2d2231b62f9f713fd04e9444d27b4b566cccd266f7a240b88e8b5f18aafbe5fdbe7004861a2706b24cdd4dd52e1ec604bfb17a9d3066aa154383205ef95e90
6
+ metadata.gz: 6df7998b27a1ab1752ec776311bafcff6e7c7c8f310e88e84b4fe2fff1cbe0ef7ed9b332b46903641ca3c6e89bb3fe56515519d7053ab328b2d6b9f23c6d1ad4
7
+ data.tar.gz: 7db632966058ab5285ea7b42cb79fde3782750ab3b943b0ce2aef95d3f14870a394aa514987dc9faf1adfa9a7f44f564379d1907c96512c5d7654571a9af5548
@@ -0,0 +1,4 @@
1
+ <%= pb_rails("currency", props: {
2
+ amount: "-2,000.50",
3
+ size: "sm",
4
+ }) %>
@@ -0,0 +1,16 @@
1
+ import React from 'react'
2
+
3
+ import Currency from '../_currency'
4
+
5
+ const CurrencyNegative = (props) => {
6
+ return (
7
+ <>
8
+ <Currency
9
+ amount="-2,000.50"
10
+ {...props}
11
+ />
12
+ </>
13
+ )
14
+ }
15
+
16
+ export default CurrencyNegative
@@ -9,6 +9,7 @@ examples:
9
9
  - currency_matching_decimals: Matching Decimals
10
10
  - currency_unstyled: Unstyled
11
11
  - currency_comma_separator: Comma Separator
12
+ - currency_negative: Negative
12
13
 
13
14
  react:
14
15
  - currency_variants: Variants
@@ -19,6 +20,7 @@ examples:
19
20
  - currency_matching_decimals: Matching Decimals
20
21
  - currency_unstyled: Unstyled
21
22
  - currency_comma_separator: Comma Separator
23
+ - currency_negative: Negative
22
24
 
23
25
  swift:
24
26
  - currency_size_swift: Size
@@ -6,3 +6,4 @@ export { default as CurrencyAbbreviated } from './_currency_abbreviated.jsx'
6
6
  export { default as CurrencyMatchingDecimals } from './_currency_matching_decimals.jsx'
7
7
  export { default as CurrencyUnstyled } from './_currency_unstyled.jsx'
8
8
  export { default as CurrencyCommaSeparator } from './_currency_comma_separator.jsx'
9
+ export { default as CurrencyNegative } from './_currency_negative.jsx'