diff --git a/docs/text.md b/docs/text.md index 2d2ea0b..c226d37 100644 --- a/docs/text.md +++ b/docs/text.md @@ -3,3 +3,18 @@ id: text title: Text wip: true --- + +## Example + +```res +open ReactNative + +let styles = { + open Style + StyleSheet.create({ + "title": textStyle(~fontSize=24., ~fontWeight=#_600, ()), + }) +} + + {"Hello World"->React.string} +```