playbook_ui_docs 14.9.0.pre.rc.12 → 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: 620213d92b80a906e5436ed5881c7201a397118f6de565fd237d6ef450bfae2f
4
- data.tar.gz: 2dbc1cf0899c8a136bf7c3e388fd325b3b11305e26ce17677aa98a4a6efb2208
3
+ metadata.gz: d4af7fc1d998b3c81d72dc077fc7403557a6b231bbd81bac71a095c7be370b06
4
+ data.tar.gz: de1c99aea3902d038520c784cd9e2c95be08e93b4777cd2ed76bd49fe39550c6
5
5
  SHA512:
6
- metadata.gz: 20439e47e6914ccd0011b5955b4aadd9f7aa9d1548280fd1355250a816fc75415b1dc6b43aa36f83830869b13d5ecf7989e4bac88fee70077bedd5a15242fc95
7
- data.tar.gz: 37f331dd9cf9cb7bc1dd340d9910f079f0e143995cd778e5b50148d4248c5cabc2d7a3bc298ae367ca195518317915f48027b6abd2609abb0fa0a1c79f2d364c
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'