Skip to content

Commit

Permalink
chore(docs): revise defaultShowFlagList (#4193)
Browse files Browse the repository at this point in the history
* chore(docs): add Example to defaultShowFlagList

* chore(docs): revise defaultShowFlagList
  • Loading branch information
wingkwong authored Nov 30, 2024
1 parent e1e50fa commit ccf82df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/components/docs/components/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const endFlag = ["}", "]"];
const specialStartFlag = ["("];
const specialEndFlag = [")"];
const defaultFoldFlagList = ["cn", "HTMLAttributes"];
const defaultShowFlagList = ["Component", "forwardRef", "App"];
const defaultShowFlagList = ["Component", "forwardRef", "App", "Example", "AddForm", "SignupForm"];

/**
* Transform tokens from `prism-react-renderer` to wrap them in folder structure
Expand Down

0 comments on commit ccf82df

Please sign in to comment.