digidem / comapeo-desktop

GNU General Public License v3.0
2 stars 0 forks source link

Create shared Text Component #17

Closed ErikSin closed 2 weeks ago

ErikSin commented 1 month ago

Create a shared text component that follows the design patterns of CoMapeo Mobile..

To Do

Props

type TextProp = {
     // check if it is a MessageDescriptor. If it is a message descriptor translate it using [formatMessage](https://formatjs.io/docs/react-intl/api#formatmessage)
     children : React.ReactNode || MessageDescriptor //https://formatjs.io/docs/react-intl/components#message-descriptor
     style: React.CSSProperties
}
ErikSin commented 1 month ago

@Erik to get default styles from Aldo

cimigree commented 1 month ago

Use this for typography for now: https://www.notion.so/digidem/Typography-a1600603854445ad82b8d67d4067be1a