ClickHouse / ClickHouse/click-ui
Text: add white-space: nowrap property
Open
- Dominant language
- TypeScript
- Stars
- 135
- Forks
- 33
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 19
Description
Throughout codebases that use click-ui, we see things like `NowrapText` which do something like:
```ts
const NowrapText = styled(Text)`
white-space: nowrap;
`
```
This happens so frequently that we should just make it prop on `Text`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Text component and reviewing how its styling props are defined and tested. Check existing NowrapText usage for the expected API, then add the prop and confirm that the relevant component tests cover the white-space behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100