Skip to content

Commit

Permalink
chore(components): apply keyboard format from user props, export form…
Browse files Browse the repository at this point in the history
…ats list
  • Loading branch information
francescochiapello committed Sep 24, 2024
1 parent 6552069 commit 471ca47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/solid/components/Keyboard/Keyboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import type { KeyboardProps } from './Keyboard.types.js';
import formats from './formats.js';

const Keyboard: Component<KeyboardProps> = (props: KeyboardProps) => {
return <KeyboardBase {...props} formats={formats.simple} />;
return <KeyboardBase {...props} formats={props.formats} />;
};

export { formats };
export default Keyboard;

0 comments on commit 471ca47

Please sign in to comment.