mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: chatgpt prompts
This commit is contained in:
23
src/view/ChatGPTPrompts/config.tsx
vendored
Normal file
23
src/view/ChatGPTPrompts/config.tsx
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { Tag, Tooltip } from 'antd';
|
||||
|
||||
export const columns = [
|
||||
{
|
||||
title: 'Command',
|
||||
dataIndex: 'cmd',
|
||||
key: 'cmd',
|
||||
},
|
||||
{
|
||||
title: 'Type',
|
||||
dataIndex: 'type',
|
||||
key: 'type',
|
||||
render: (v: string) => <Tag>{v}</Tag>
|
||||
},
|
||||
{
|
||||
title: 'Content',
|
||||
dataIndex: 'content',
|
||||
key: 'content',
|
||||
render: (v: string) => (
|
||||
<Tooltip overlayInnerStyle={{ width: 350 }} title={v}><span className="chat-prompts-val">{v}</span></Tooltip>
|
||||
),
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user