mantinedev / ui.mantine.dev

Mantine UI website and components
https://ui.mantine.dev
MIT License
2.84k stars 314 forks source link

Make links menu optional #57

Open TaPiOn- opened 1 year ago

TaPiOn- commented 1 year ago

No problem when you declare your HeaderActionProps in json but got an error in editor when you declare in js. By setting it optional we can create a js file with a const links declaration like this:

import { HeaderActionProps } from './HeaderAction';

export const links: HeaderActionProps['links'] = [

netlify[bot] commented 1 year ago

Deploy Preview for zesty-dragon-10e479 ready!

Name Link
Latest commit f0e15f5a3ac04d72b373fd448a72cdc923341823
Latest deploy log https://app.netlify.com/sites/zesty-dragon-10e479/deploys/641a9df594adbf000866d75a
Deploy Preview https://deploy-preview-57--zesty-dragon-10e479.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.