initial commit after project creation
This commit is contained in:
27
tina/templates/markdown-embeds/callout.template.tsx
Normal file
27
tina/templates/markdown-embeds/callout.template.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
export const CalloutTemplate = {
|
||||
name: "Callout",
|
||||
label: "Callout",
|
||||
ui: {
|
||||
defaultItem: {
|
||||
body: "This is a callout",
|
||||
variant: "warning",
|
||||
},
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: "body",
|
||||
label: "Body",
|
||||
type: "rich-text",
|
||||
isBody: true,
|
||||
},
|
||||
{
|
||||
name: "variant",
|
||||
label: "Variant",
|
||||
type: "string",
|
||||
options: ["warning", "info", "success", "error", "idea", "lock", "api"],
|
||||
defaultValue: "warning",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default CalloutTemplate;
|
||||
Reference in New Issue
Block a user