playbook_ui_docs 13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 → 13.33.0.pre.alpha.PLAY1454formpillicons3309

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: cf74e38b05aab4283124ee330392512c641690fd1ee4f3551ec63476f3dca721
4
- data.tar.gz: b4ad209b3f317613c6f4d222b4bff1319e538447f4061b6737891c41ba4e8fd4
3
+ metadata.gz: ae575994472184307596b99240ba8cf796b68ccdc9931799407e2a191186a1ed
4
+ data.tar.gz: 222e3749b70a5ee0c5af359666e22aac53f77d1770dcb1650b5b92b9c0239cc3
5
5
  SHA512:
6
- metadata.gz: '09a831a8dcf521772b5457bf085d5794aaf5f1ccff1c75456cccb39bcb92aea02b0b168e201cbd3229da9a244919f93e61d818fd6e822b003c0e31ec6283b356'
7
- data.tar.gz: e18fa54ed89d0f67804f3e1d6589a3820a4bcf42cbde75de48a491f3cef4adb14a43c0aefafc0a3e0abc1959386ca1b7ae50f2439ee012bc844986bbf8dc8b97
6
+ metadata.gz: 0472b91d6ae93b52cbe02e4157ef15cfbcb40eff430a17e0206d04b18539ecc56262631061c437f8171cd8d6361920e328f9fd630c8c8fb64f5c00441fb94bbe
7
+ data.tar.gz: 0e6414137927b63d0b3e5309d2aad819b46ea9c5ab6cfdca02478fa6bfeb0ef869054e46cb2916d1c8fd87e66bb88b30027d5599733bc7d7a19e9fd17e743f76
@@ -0,0 +1,5 @@
1
+ <%= pb_rails("form_pill", props: {
2
+ icon: "badge-check",
3
+ text: "icon and tag",
4
+ tabindex: 0,
5
+ }) %>
@@ -0,0 +1,19 @@
1
+ import React from 'react'
2
+ import FormPill from '../_form_pill'
3
+
4
+ const FormPillIcon = (props) => {
5
+ return (
6
+ <div>
7
+ <FormPill
8
+ icon="badge-check"
9
+ onClick={() => {
10
+ alert('Click!')
11
+ }}
12
+ tabIndex={0}
13
+ text="icon and tag"
14
+ {...props}
15
+ />
16
+ </div>
17
+ )
18
+ }
19
+ export default FormPillIcon
@@ -5,10 +5,11 @@ examples:
5
5
  - form_pill_size: Form Pill Size
6
6
  - form_pill_tag: Form Pill Tag
7
7
  - form_pill_example: Example
8
-
8
+ - form_pill_icon: Form Pill Icon
9
9
 
10
10
  react:
11
11
  - form_pill_user: Form Pill User
12
12
  - form_pill_size: Form Pill Size
13
13
  - form_pill_tag: Form Pill Tag
14
14
  - form_pill_example: Example
15
+ - form_pill_icon: Form Pill Icon
@@ -2,4 +2,4 @@ export { default as FormPillUser } from './_form_pill_user.jsx'
2
2
  export { default as FormPillSize } from './_form_pill_size.jsx'
3
3
  export { default as FormPillTag } from './_form_pill_tag.jsx'
4
4
  export { default as FormPillExample } from './_form_pill_example.jsx'
5
-
5
+ export { default as FormPillIcon } from './_form_pill_icon.jsx'