-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with correct props and fix broken stories
- Loading branch information
Graeme Houston
committed
Aug 20, 2024
1 parent
4600e48
commit 79cd2d8
Showing
11 changed files
with
91 additions
and
64 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
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,16 +1,13 @@ | ||
import React from 'react'; | ||
import { View } from 'react-native'; | ||
import { BadgeTileConfig } from "@/types/tile"; | ||
import React from "react"; | ||
import { View } from "react-native"; | ||
|
||
type BadgeTileProps = { | ||
// Define your props here | ||
} | ||
configuration: BadgeTileConfig; | ||
}; | ||
|
||
const BadgeTile: React.FC<BadgeTileProps> = () => { | ||
return ( | ||
<View> | ||
{/* Your component code here */} | ||
</View> | ||
); | ||
const BadgeTile: React.FC<BadgeTileProps> = ({ configuration }) => { | ||
return <View>{/* Your component code here */}</View>; | ||
}; | ||
|
||
export default BadgeTile; |
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 |
---|---|---|
@@ -1,16 +1,13 @@ | ||
import React from 'react'; | ||
import { View } from 'react-native'; | ||
import { PointsTileConfig } from "@/types/tile"; | ||
import React from "react"; | ||
import { View } from "react-native"; | ||
|
||
type PointsTileProps = { | ||
// Define your props here | ||
} | ||
configuration: PointsTileConfig; | ||
}; | ||
|
||
const PointsTile: React.FC<PointsTileProps> = () => { | ||
return ( | ||
<View> | ||
{/* Your component code here */} | ||
</View> | ||
); | ||
const PointsTile: React.FC<PointsTileProps> = ({ configuration }) => { | ||
return <View>{/* Your component code here */}</View>; | ||
}; | ||
|
||
export default PointsTile; |
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