mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-28 17:07:22 +00:00
7 lines
244 B
JavaScript
7 lines
244 B
JavaScript
import React from 'react';
|
|
|
|
export const Button = function Button({ id, component, onComponentClick }) {
|
|
return (
|
|
<button class="btn btn-sm btn-primary p-1" onClick={() => onComponentClick(id, component) }>Button</button>
|
|
);
|
|
};
|