-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve examples project (#2870)
- Loading branch information
Showing
47 changed files
with
523 additions
and
164 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
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,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
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
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 |
---|---|---|
|
@@ -23,8 +23,6 @@ const styles = StyleSheet.create({ | |
Font.registerEmojiSource({ | ||
format: 'png', | ||
url: 'https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/', | ||
// url: 'https://cdn.jsdelivr.net/npm/[email protected]/img/apple/64/', | ||
// withVariationSelectors: true, | ||
}); | ||
|
||
const Emoji = () => ( | ||
|
@@ -37,4 +35,9 @@ const Emoji = () => ( | |
</Document> | ||
); | ||
|
||
export default Emoji; | ||
export default { | ||
id: 'emoji', | ||
name: 'Emoji', | ||
description: '', | ||
Document: Emoji, | ||
}; |
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
File renamed without changes.
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
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,43 @@ | ||
import duplicatedImages from './duplicated-images'; | ||
import ellipsis from './ellipsis'; | ||
import emoji from './emoji'; | ||
import fontFamilyFallback from './font-family-fallback'; | ||
import fontWeight from './font-weight'; | ||
import fractals from './fractals'; | ||
import goTo from './go-to'; | ||
import JpgOrientation from './jpg-orientation'; | ||
import knobs from './knobs'; | ||
import link from './link'; | ||
import mediaQueries from './media-queries'; | ||
import minPresenceAhead from './min-presence-ahead'; | ||
import multilineText from './multiline-text'; | ||
import objectFit from './object-fit'; | ||
import pageWrap from './page-wrap'; | ||
import resume from './resume'; | ||
import svg from './svg'; | ||
import svgTransform from './svg-transform'; | ||
import transformOrigin from './transform-origin'; | ||
|
||
const EXAMPLES = [ | ||
duplicatedImages, | ||
ellipsis, | ||
emoji, | ||
fontFamilyFallback, | ||
fontWeight, | ||
fractals, | ||
goTo, | ||
JpgOrientation, | ||
knobs, | ||
link, | ||
mediaQueries, | ||
minPresenceAhead, | ||
multilineText, | ||
objectFit, | ||
pageWrap, | ||
resume, | ||
svg, | ||
svgTransform, | ||
transformOrigin, | ||
]; | ||
|
||
export default EXAMPLES; |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.