-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[reactions] Styling for reactions to stories (#91)
* progress on database functions to pull genre information * pushing changes before rebase * ran prettier * finished styling genre preview card component * styling complete for genre screen, need to implement tone, topic dropdown selection logic * semi finished genre screen, need to debug drop down logic * figuring out filter context * reaction styling * Run prettier * Remove filter modal * Made reaction picker horizontal * Reactions implemented * Generalized pubsub * Fix reations * Fix home screen saved stories not working * Fix reaction bugs * Fix reaction bugs --------- Co-authored-by: Aditya Pawar <[email protected]> Co-authored-by: Aditya Pawar <[email protected]>
- Loading branch information
1 parent
a3f3530
commit 3d5abcc
Showing
21 changed files
with
406 additions
and
114 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { CheckBox } from '@rneui/themed'; | ||
import { memo } from 'react'; | ||
|
||
type ChildFilterProps = { | ||
id: number; | ||
name: string; | ||
checked: boolean; | ||
onPress: (id: number) => void; | ||
}; | ||
|
||
function ChildFilter({ id, name, checked, onPress }: ChildFilterProps) { | ||
return ( | ||
<CheckBox | ||
textStyle={{ color: 'purple' }} | ||
key={id} | ||
title={name} | ||
checked={checked} | ||
onPress={() => onPress(id)} | ||
iconType="material-community" | ||
checkedIcon="checkbox-marked" | ||
uncheckedIcon="checkbox-blank-outline" | ||
checkedColor="black" | ||
/> | ||
); | ||
} | ||
|
||
export default memo(ChildFilter); |
Oops, something went wrong.