MCPcopy Create free account
hub / github.com/adobe/react-spectrum / PromptFieldToolbar

Function PromptFieldToolbar

packages/@react-spectrum/ai/src/PromptField.tsx:980–993  ·  view source on GitHub ↗
(props: PromptFieldToolbarProps)

Source from the content-addressed store, hash-verified

978 * PromptFieldToolbar contains action buttons related to the PromptField.
979 */
980export function PromptFieldToolbar(props: PromptFieldToolbarProps) {
981 let {children} = props;
982 return (
983 <div
984 className={style({
985 display: 'flex',
986 justifyContent: 'space-between',
987 alignItems: 'center',
988 marginTop: 16
989 })}>
990 {children}
991 </div>
992 );
993}
994
995export interface PromptFieldSubmitButtonProps {}
996

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected