Pressable
Usage
import { Pressable } from '@universal-labs/primitives'
// inside your component
// ...
<Pressable className='rounded-full' ...props/>
TODO: DUDAS: ESTE DEBE TENER UN BUTTON ADENTRO?
Props
prop | values | description |
---|---|---|
className | string | TailwindCSS class |
Example
import { Image } from '@universal-labs/primitives'
const MyComponent = () => {
return (
<div className='bg-indigo-300'>
<Nav className='w-100 dark ...' />
</div>
)
}
export default MyComponent