mirror of
https://github.com/status-im/react-native-fast-image.git
synced 2026-08-31 05:41:16 +00:00
chore: Convert example to TypeScript (#648)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
import FeatureText from './FeatureText'
|
||||
|
||||
interface BulletTextProps {
|
||||
text?: string
|
||||
children?: any
|
||||
}
|
||||
|
||||
const BulletText = ({ text, children }: BulletTextProps) => (
|
||||
<FeatureText text={`• ${text || children} •`} />
|
||||
)
|
||||
|
||||
export default BulletText
|
||||
Reference in New Issue
Block a user