https://github.com/caseywebdev/formatted-text
A React component for formatting paragraphs, line breaks and links.
https://github.com/caseywebdev/formatted-text
Last synced: 7 months ago
JSON representation
A React component for formatting paragraphs, line breaks and links.
- Host: GitHub
- URL: https://github.com/caseywebdev/formatted-text
- Owner: caseywebdev
- License: mit
- Created: 2015-04-07T00:50:30.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T22:02:44.000Z (about 2 years ago)
- Last Synced: 2025-04-10T10:18:15.085Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://devblog.orgsync.com/formatted-text
- Size: 72.3 KB
- Stars: 12
- Watchers: 13
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
#
A React component for formatting line breaks and links.
```jsx
Email me (foo@example.com) or visit one of:
foo.example.com
bar.example.com
baz.example.com
```
```html
Email me (foo@example.com) or visit one of:
foo.example.com
bar.example.com
baz.example.com
```
### Props
#### LinkComponent
A component that receives `children` and `href` props. Defaults to `'a'`.