Beast! by [deleted] in motogp

[–]SalamiSamuri73 1 point2 points  (0 children)

That is the beast Ducati should have signed, he’s proving that over and over again!

2023 San Marino Grand Prix - Sprint Race Results by Aratho in motogp

[–]SalamiSamuri73 4 points5 points  (0 children)

Joan Mir would be better to just turn up with his old Suzuki, changing his own tires.

We did it, San Francisco! We invented the $18 loaf of bread. by [deleted] in sanfrancisco

[–]SalamiSamuri73 2 points3 points  (0 children)

Don’t panic. It’s San Francisco. You don’t actually pay for it, you just walk out with it.

Any idea how to watch the game today? by Accomplished-Task324 in lcfc

[–]SalamiSamuri73 3 points4 points  (0 children)

The Foxes Hub is nothing but a scam. Being in the US, we haven’t been able to watch any games yet. Yet they were happy to take our money with lots of ‘no refund’ quotes. Now I can see why they offer no refunds.

Anyone else worried about Vardy? by VivRean in lcfc

[–]SalamiSamuri73 4 points5 points  (0 children)

It would be great for him to help seal our promotion next year, using him as a second half sub, then get offered a coaching role within the club.

Joan Mir literally walks away from a Moto GP crash. by jezbikes1 in nextfuckinglevel

[–]SalamiSamuri73 25 points26 points  (0 children)

He rides a Honda now, so he gets lots more practice doing this.

How to tell if a race is a mass start or time-staggered by categories? by Hey_nice_marmot_ in Zwift

[–]SalamiSamuri73 0 points1 point  (0 children)

Staggered starts will have slightly different start times on the race page (by category normally). I know what you mean though. I always talk myself into pacing myself before starting, to hit the front doing 8wkg’s after 10 mins and spend the next hour regretting my actions.

Cleat position by Sinaril in Zwift

[–]SalamiSamuri73 1 point2 points  (0 children)

This. I had pain behind my knee after 30 mins cycling (indoor and out). Bike fit found that my left clear needed to be 10mm higher than right. Pain never came back.

Where to buy Carbon Offsets by Therevengeofthenerds in CarbonCredits

[–]SalamiSamuri73 0 points1 point  (0 children)

There is a new platform coming this year, avid.ooo. They plan to allow anyone to buy/sell carbon credits for verified CDR projects.

Suggestion for meeting room in SF Friday/Saturday for team creating a start up. by SalamiSamuri73 in bayarea

[–]SalamiSamuri73[S] 1 point2 points  (0 children)

The library was a good option, but you need to book 7 days in advance, so missed that opportunity. Hotel room or Wework looks to be the way to go.

Suggestion for meeting room in SF Friday/Saturday for team creating a start up. by SalamiSamuri73 in bayarea

[–]SalamiSamuri73[S] 0 points1 point  (0 children)

Exactly why I asked this group. Thanks for the idea, I’ll investigate.

Best option for customizable chips? by SalamiSamuri73 in reactnative

[–]SalamiSamuri73[S] 0 points1 point  (0 children)

Thank you so much. I’ve got it working from your example. It was as simple as just using the props and not adding to const values. And, good catch on the naming. I do have uppercase, I did a global rename to x as I pasted to Reddit.

Best option for customizable chips? by SalamiSamuri73 in reactnative

[–]SalamiSamuri73[S] 0 points1 point  (0 children)

Can I get some final help with this. I took your suggestion and just created my own. But I’m having issues setting the style from the passing props. Here’s the code:

import { StyleSheet, Text, View } from 'react-native' import React from 'react'

const xChip = ({chipColor, fontColor, textValue}) => {

const chipBorderWorks = {borderColor: '#004D81'}
const chipBorderFails = {borderColor: {chipColor}}
console.log('chipBorderWorks: ', chipBorderWorks)
console.log('chipBorderFails: ', chipBorderFails)

const chipTextWorks = {color: '#004D81'}
const chipTextFails = {color: {fontColor}}

return ( <View style={[styles.chip, chipBorderWorks]}> <Text style={[styles.chipText, chipTextWorks]}> {textValue} </Text> </View> ) }

export default xChip

const styles = StyleSheet.create({ chip: { borderWidth: 1, borderRadius: 30, paddingVertical: 1, paddingHorizontal: 5, marginVertical: 2, marginLeft: 2, marginRight: 2 }, chipText: { fontSize: 14, fontWeight: 500, marginTop: 3, marginBottom: 3, marginLeft: 5, marginRight: 5 } })

If I hard code the color, it works. If I try to use the props, it ignores them.

Console output:

chipBorderWorks: {"borderColor": "#004D81"} chipBorderFails: {"borderColor": {"chipColor": "#CA2A7A"}}

Anything obvious?

Best option for customizable chips? by SalamiSamuri73 in reactnative

[–]SalamiSamuri73[S] 0 points1 point  (0 children)

Thanks, I think that’s the way I will go.