-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Likes and sharing panel is independent plugin
- Loading branch information
Showing
6 changed files
with
76 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import JetpackLikesAndSharingPanel from '../../shared/jetpack-likes-and-sharing-panel'; | ||
import LikesCheckbox from './likes-checkbox'; | ||
|
||
export const name = 'likes'; | ||
|
||
export const settings = { | ||
render: ( { props } ) => ( | ||
<JetpackLikesAndSharingPanel> | ||
<LikesCheckbox props={ props } /> | ||
</JetpackLikesAndSharingPanel> | ||
), | ||
}; | ||
export const settings = { render: LikesCheckbox }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import JetpackLikesAndSharingPanel from '../../shared/jetpack-likes-and-sharing-panel'; | ||
import SharingCheckbox from './sharing-checkbox'; | ||
|
||
export const name = 'sharing'; | ||
|
||
export const settings = { | ||
render: ( { props } ) => ( | ||
<JetpackLikesAndSharingPanel> | ||
<SharingCheckbox props={ props } /> | ||
</JetpackLikesAndSharingPanel> | ||
), | ||
}; | ||
export const settings = { render: SharingCheckbox }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters