Skip to content

Conversation

@TaPiOn-
Copy link

@TaPiOn- TaPiOn- commented Mar 22, 2023

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'] = [

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
Copy link

netlify bot commented Mar 22, 2023

Deploy Preview for zesty-dragon-10e479 ready!

Name Link
🔨 Latest commit f0e15f5
🔍 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant