Skip to content

initial commit

Mahmoud Tarek requested to merge customizing-text-and-textfields-components into main
  • Adding new props to the text component media and fontWeight
//this will use styles of heading1 variant on the desktop media only
<Text variant='heading1' media='desktop' className='font-bold text-[#fff30a]'>
  Become A member
</Text>

//this will use styles of heading1 variant on all media types from 'mobile' to 'desktop'
<Text variant='heading1' className='font-bold text-[#fff30a]'>
  Become A member
</Text>
  • Adding disabled styles to textField and dropdown components
  • Making small changes to chapters dropdown field

Merge request reports

Loading