Initial release of base button

This commit is contained in:
2026-05-18 15:54:50 +07:00
commit deef83d56e
17 changed files with 2288 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
export function BaseButton({ onClick, children, style }) {
const defaultStyle = {
padding: '10px 20px',
backgroundColor: '#0070f3',
color: '#fff',
border: 'none',
borderRadius: '5px',
cursor: 'pointer',
...style
};
return (
<button style={defaultStyle} onClick={onClick}>
{children}
</button>
);
}