Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@davoodmehraban89
/
medusa
Fork
0
medusa
/
www
/
apps
/
ui
/
specs
/
examples
/
text-leading.tsx
Code
Commits
Issues
Pulls
Cloud Agent
CICD
automation/medusa-upstream-review
automation/medusa-upstream-review
main
project/medusa-foundation-audit
security/codeql-dependabot-gitleaks
tsx
10 lines
253 Bytes
Copy permalink
Copy
Raw
1
import
{
Text
}
from
"
@medusajs/ui
"
2
3
export
default
function
TextLeading
()
{
4
return
(
5
<
div
className
=
"flex flex-col gap-y-2"
>
6
<
Text
leading
=
"normal"
>
Normal leading
</
Text
>
7
<
Text
leading
=
"compact"
>
Compact leading
</
Text
>
8
</
div
>
9
)
10
}