ui.mantine.dev
ui.mantine.dev copied to clipboard
Make links menu optional
trafficstars
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'] = [
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.