-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add Empty screen as playground (#2517)
# Summary Create Empty screen with blank svg in example app as playground Additionally add FeDropShadow icon as i forgot about it.
- Loading branch information
Showing
3 changed files
with
29 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
import {Rect, Svg} from 'react-native-svg'; | ||
|
||
function EmptyExample() { | ||
return <Svg height="400" width="400"></Svg>; | ||
} | ||
EmptyExample.title = ''; | ||
|
||
const icon = ( | ||
<Svg height="30" width="30" viewBox="0 0 20 20"> | ||
<Rect x="0" y="0" width="20" height="20" fill="none" stroke="black" /> | ||
</Svg> | ||
); | ||
const samples = [EmptyExample]; | ||
|
||
export {icon, samples}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters