airbnb / airbnb/react-sketchapp

Support textTransform capitalize enum

Open
#499 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
14.9k
Forks
797
PR merge metrics
No merged PRs in 30d

Description

_I am..._

| -------------------------------------------------------------------------------------------------
| Requesting a new feature
| -------------------------------------------------------------------------------------------------

**Proposal/Feature-request:**

Support `capitalize` enum in the CSS `textTransform` property for React Native and web feature parity, as mentioned in #495 .

I think this will need to be a manual transformation applied to the text string children, and we need to decide what `TextTransform` enum will be passed onto the Sketch file: `none` is probably best.

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by finding the textTransform handling for text string children, review the related request in #495, and determine which TextTransform value is sent to the Sketch file; done means capitalize renders correctly for React Native and web feature parity with the chosen Sketch behavior documented and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, react-native, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.