playbook_ui_docs 14.9.0.pre.rc.13 → 14.9.0.pre.rc.15

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: db6b7d38b77ce24363638b3d5933d29dee18ba64a6bb1de1f9ea9d9122939ab2
4
+ data.tar.gz: 63c9bd4ef088eee43d948f82c1424090adb2291c215ffb4a3093c35487f20443
5
5
  SHA512:
6
- metadata.gz: 4f81bf349b1ea54c6a11efae3fe4337a1262e6d79963e2ef87756c9b5662c1a9710a070f504cdc0d864c5488acef0223916d1ad798fd82427b0494fa58254910
7
- data.tar.gz: 3a2d2231b62f9f713fd04e9444d27b4b566cccd266f7a240b88e8b5f18aafbe5fdbe7004861a2706b24cdd4dd52e1ec604bfb17a9d3066aa154383205ef95e90
6
+ metadata.gz: 4d374ff6b9114a088126686b493804b8812cf7d65ffa827c6a5cbdf998fb42df9a5272a66bcd92e94ea385a8dcec826cb4402160534653ea7ff15ab48f334070
7
+ data.tar.gz: 0aa6fbdc208612401e70c5a282ebe805eb0220845eb2f9ba1d8bac45aa8b853d15139018ad448c7ae02e4a9a19c1fb40ac4cd4af64bf31516b512f79dade7b1c
@@ -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'