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 +4 -4
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_icon.html.erb +5 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_icon.jsx +19 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +2 -1
- data/app/pb_kits/playbook/pb_form_pill/docs/index.js +1 -1
- data/dist/playbook-doc.js +6 -6
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae575994472184307596b99240ba8cf796b68ccdc9931799407e2a191186a1ed
|
4
|
+
data.tar.gz: 222e3749b70a5ee0c5af359666e22aac53f77d1770dcb1650b5b92b9c0239cc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0472b91d6ae93b52cbe02e4157ef15cfbcb40eff430a17e0206d04b18539ecc56262631061c437f8171cd8d6361920e328f9fd630c8c8fb64f5c00441fb94bbe
|
7
|
+
data.tar.gz: 0e6414137927b63d0b3e5309d2aad819b46ea9c5ab6cfdca02478fa6bfeb0ef869054e46cb2916d1c8fd87e66bb88b30027d5599733bc7d7a19e9fd17e743f76
|
@@ -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'
|