Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnEstropia committed Feb 19, 2024
1 parent c674f82 commit afa4eef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/StorybookKit/StorybookKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Foundation

@_exported import SwiftUI

@freestanding(declaration, names: .arbitrary)
@freestanding(declaration, names: arbitrary)
public macro StorybookPage(
title: String = "\(#fileID):\(#line)",
@ViewBuilder contents: @escaping () -> any View
Expand All @@ -32,7 +32,7 @@ public macro StorybookPage(
type: "StorybookPageMacro"
)

@freestanding(declaration, names: .arbitrary)
@freestanding(declaration, names: arbitrary)
public macro StorybookPage<Target>(
target: Target.Type = Target.self,
@ViewBuilder contents: @escaping () -> any View
Expand Down

0 comments on commit afa4eef

Please sign in to comment.